Class MemberGroupSavedNotification
Notification published after member groups have been saved.
Inheritance
object
Namespace: Umbraco.Cms.Core.Notifications
Assembly: Umbraco.Core.dll
Syntax
public class MemberGroupSavedNotification : SavedNotification<IMemberGroup>, IStatefulNotification, INotification
Remarks
This notification is published after member groups have been successfully saved, allowing handlers to react for auditing or cache invalidation purposes.
Constructors
View SourceMemberGroupSavedNotification(IEnumerable<IMemberGroup>, EventMessages)
Initializes a new instance of the MemberGroupSavedNotification class with multiple member groups.
Declaration
public MemberGroupSavedNotification(IEnumerable<IMemberGroup> target, EventMessages messages)
Parameters
| Type | Name | Description |
|---|---|---|
| IEnumerable<IMemberGroup> | target | The member groups that were saved. |
| EventMessages | messages | The event messages collection. |
MemberGroupSavedNotification(IMemberGroup, EventMessages)
Initializes a new instance of the MemberGroupSavedNotification class with a single member group.
Declaration
public MemberGroupSavedNotification(IMemberGroup target, EventMessages messages)
Parameters
| Type | Name | Description |
|---|---|---|
| IMemberGroup | target | The member group that was saved. |
| EventMessages | messages | The event messages collection. |