Search Results for

    Show / Hide Table of Contents
    View Source

    Class MemberSavingNotification

    Notification that is published before a member is saved.

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

    This notification is cancelable, allowing handlers to prevent the save operation. The notification is published by the IMemberService before the member is persisted.

    Constructors

    View Source

    MemberSavingNotification(IEnumerable<IMember>, EventMessages)

    Initializes a new instance of the MemberSavingNotification class with multiple members.

    Declaration
    public MemberSavingNotification(IEnumerable<IMember> target, EventMessages messages)
    Parameters
    Type Name Description
    IEnumerable<IMember> target

    The collection of members being saved.

    EventMessages messages

    The event messages collection.

    View Source

    MemberSavingNotification(IMember, EventMessages)

    Initializes a new instance of the MemberSavingNotification class with a single member.

    Declaration
    public MemberSavingNotification(IMember target, EventMessages messages)
    Parameters
    Type Name Description
    IMember target

    The member being saved.

    EventMessages messages

    The event messages collection.

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