Search Results for

    Show / Hide Table of Contents
    View Source

    Class ContentEmptyingRecycleBinNotification

    Notification that is published before the content recycle bin is emptied.

    Inheritance
    object
    StatefulNotification
    EmptyingRecycleBinNotification<IContent>
    Namespace: Umbraco.Cms.Core.Notifications
    Assembly: Umbraco.Core.dll
    Syntax
    public sealed class ContentEmptyingRecycleBinNotification : EmptyingRecycleBinNotification<IContent>, IStatefulNotification, ICancelableNotification, INotification
    Remarks

    This notification is cancelable, allowing handlers to prevent the empty recycle bin operation. The notification is published by the IContentService when EmptyRecycleBin is called.

    Constructors

    View Source

    ContentEmptyingRecycleBinNotification(IEnumerable<IContent>?, EventMessages)

    Initializes a new instance of the ContentEmptyingRecycleBinNotification class.

    Declaration
    public ContentEmptyingRecycleBinNotification(IEnumerable<IContent>? deletedEntities, EventMessages messages)
    Parameters
    Type Name Description
    IEnumerable<IContent> deletedEntities

    The collection of content items being permanently deleted.

    EventMessages messages

    The event messages collection.

    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX