Search Results for

    Show / Hide Table of Contents
    View Source

    Class UserGroupDeletedNotification

    Notification published after user groups have been deleted.

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

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

    Constructors

    View Source

    UserGroupDeletedNotification(IEnumerable<IUserGroup>, EventMessages)

    Initializes a new instance of the UserGroupDeletedNotification class with multiple user groups.

    Declaration
    public UserGroupDeletedNotification(IEnumerable<IUserGroup> target, EventMessages messages)
    Parameters
    Type Name Description
    IEnumerable<IUserGroup> target

    The user groups that were deleted.

    EventMessages messages

    The event messages collection.

    View Source

    UserGroupDeletedNotification(IUserGroup, EventMessages)

    Initializes a new instance of the UserGroupDeletedNotification class with a single user group.

    Declaration
    public UserGroupDeletedNotification(IUserGroup target, EventMessages messages)
    Parameters
    Type Name Description
    IUserGroup target

    The user group that was deleted.

    EventMessages messages

    The event messages collection.

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