Search Results for

    Show / Hide Table of Contents
    View Source

    Class RecycleBinEventArgs

    Inheritance
    object
    EventArgs
    CancellableEventArgs
    Namespace: Umbraco.Cms.Core.Events
    Assembly: Umbraco.Core.dll
    Syntax
    public class RecycleBinEventArgs : CancellableEventArgs

    Constructors

    View Source

    RecycleBinEventArgs(Guid)

    Declaration
    public RecycleBinEventArgs(Guid nodeObjectType)
    Parameters
    Type Name Description
    Guid nodeObjectType
    View Source

    RecycleBinEventArgs(Guid, EventMessages)

    Declaration
    public RecycleBinEventArgs(Guid nodeObjectType, EventMessages eventMessages)
    Parameters
    Type Name Description
    Guid nodeObjectType
    EventMessages eventMessages

    Properties

    View Source

    IsContentRecycleBin

    Boolean indicating whether this event was fired for the Content's Recycle Bin.

    Declaration
    public bool IsContentRecycleBin { get; }
    Property Value
    Type Description
    bool
    View Source

    IsMediaRecycleBin

    Boolean indicating whether this event was fired for the Media's Recycle Bin.

    Declaration
    public bool IsMediaRecycleBin { get; }
    Property Value
    Type Description
    bool
    View Source

    NodeObjectType

    Gets the Id of the node object type of the items being deleted from the Recycle Bin.

    Declaration
    public Guid NodeObjectType { get; }
    Property Value
    Type Description
    Guid
    View Source

    RecycleBinEmptiedSuccessfully

    Boolean indicating whether the Recycle Bin was emptied successfully

    Declaration
    public bool RecycleBinEmptiedSuccessfully { get; set; }
    Property Value
    Type Description
    bool

    Methods

    View Source

    Equals(object?)

    Determines whether the specified object is equal to the current object.

    Declaration
    public override bool Equals(object? obj)
    Parameters
    Type Name Description
    object obj

    The object to compare with the current object.

    Returns
    Type Description
    bool

    true if the specified object is equal to the current object; otherwise, false.

    View Source

    Equals(RecycleBinEventArgs?)

    Indicates whether the current object is equal to another object of the same type.

    Declaration
    public bool Equals(RecycleBinEventArgs? other)
    Parameters
    Type Name Description
    RecycleBinEventArgs other

    An object to compare with this object.

    Returns
    Type Description
    bool

    true if the current object is equal to the other parameter; otherwise, false.

    View Source

    GetHashCode()

    Serves as the default hash function.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int

    A hash code for the current object.

    Operators

    View Source

    operator ==(RecycleBinEventArgs, RecycleBinEventArgs)

    Declaration
    public static bool operator ==(RecycleBinEventArgs left, RecycleBinEventArgs right)
    Parameters
    Type Name Description
    RecycleBinEventArgs left
    RecycleBinEventArgs right
    Returns
    Type Description
    bool
    View Source

    operator !=(RecycleBinEventArgs, RecycleBinEventArgs)

    Declaration
    public static bool operator !=(RecycleBinEventArgs left, RecycleBinEventArgs right)
    Parameters
    Type Name Description
    RecycleBinEventArgs left
    RecycleBinEventArgs right
    Returns
    Type Description
    bool
    • Edit this page
    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX