Search Results for

    Show / Hide Table of Contents
    View Source

    Class DomainDeletedNotification

    Notification published after domains have been deleted.

    Inheritance
    object
    StatefulNotification
    ObjectNotification<IEnumerable<IDomain>>
    EnumerableObjectNotification<IDomain>
    DeletedNotification<IDomain>
    Namespace: Umbraco.Cms.Core.Notifications
    Assembly: Umbraco.Core.dll
    Syntax
    public class DomainDeletedNotification : DeletedNotification<IDomain>, IStatefulNotification, INotification
    Remarks

    This notification is published after domains have been successfully deleted, allowing handlers to react for auditing or cache invalidation purposes.

    Constructors

    View Source

    DomainDeletedNotification(IEnumerable<IDomain>, EventMessages)

    Initializes a new instance of the DomainDeletedNotification class with multiple domains.

    Declaration
    public DomainDeletedNotification(IEnumerable<IDomain> target, EventMessages messages)
    Parameters
    Type Name Description
    IEnumerable<IDomain> target

    The domains that were deleted.

    EventMessages messages

    The event messages collection.

    View Source

    DomainDeletedNotification(IDomain, EventMessages)

    Initializes a new instance of the DomainDeletedNotification class with a single domain.

    Declaration
    public DomainDeletedNotification(IDomain target, EventMessages messages)
    Parameters
    Type Name Description
    IDomain target

    The domain that was deleted.

    EventMessages messages

    The event messages collection.

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