Search Results for

    Show / Hide Table of Contents
    View Source

    Class RecycleBinEventArgs

    Inheritance
    System.Object
    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
    System.Boolean
    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
    System.Boolean
    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
    System.Boolean

    Methods

    View Source

    Equals(Object)

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    System.Object obj
    Returns
    Type Description
    System.Boolean
    View Source

    Equals(RecycleBinEventArgs)

    Declaration
    public bool Equals(RecycleBinEventArgs other)
    Parameters
    Type Name Description
    RecycleBinEventArgs other
    Returns
    Type Description
    System.Boolean
    View Source

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    System.Int32

    Operators

    View Source

    Equality(RecycleBinEventArgs, RecycleBinEventArgs)

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

    Inequality(RecycleBinEventArgs, RecycleBinEventArgs)

    Declaration
    public static bool operator !=(RecycleBinEventArgs left, RecycleBinEventArgs right)
    Parameters
    Type Name Description
    RecycleBinEventArgs left
    RecycleBinEventArgs right
    Returns
    Type Description
    System.Boolean
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • RecycleBinEventArgs(Guid)
      • RecycleBinEventArgs(Guid, EventMessages)
    • Properties
      • IsContentRecycleBin
      • IsMediaRecycleBin
      • NodeObjectType
      • RecycleBinEmptiedSuccessfully
    • Methods
      • Equals(Object)
      • Equals(RecycleBinEventArgs)
      • GetHashCode()
    • Operators
      • Equality(RecycleBinEventArgs, RecycleBinEventArgs)
      • Inequality(RecycleBinEventArgs, RecycleBinEventArgs)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX