Search Results for

    Show / Hide Table of Contents
    View Source

    Class DomainSavingNotification

    Notification published before domains are saved.

    Inheritance
    object
    StatefulNotification
    ObjectNotification<IEnumerable<IDomain>>
    CancelableObjectNotification<IEnumerable<IDomain>>
    CancelableEnumerableObjectNotification<IDomain>
    SavingNotification<IDomain>
    Namespace: Umbraco.Cms.Core.Notifications
    Assembly: Umbraco.Core.dll
    Syntax
    public class DomainSavingNotification : SavingNotification<IDomain>, IStatefulNotification, ICancelableNotification, INotification
    Remarks

    This notification is cancelable, allowing handlers to prevent the save operation by setting Cancel to true.

    Constructors

    View Source

    DomainSavingNotification(IEnumerable<IDomain>, EventMessages)

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

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

    The domains being saved.

    EventMessages messages

    The event messages collection.

    View Source

    DomainSavingNotification(IDomain, EventMessages)

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

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

    The domain being saved.

    EventMessages messages

    The event messages collection.

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