Class MemberGroupSavingNotification
Notification published before member groups are saved.
Inheritance
object
Namespace: Umbraco.Cms.Core.Notifications
Assembly: Umbraco.Core.dll
Syntax
public class MemberGroupSavingNotification : SavingNotification<IMemberGroup>, IStatefulNotification, ICancelableNotification, INotification
Remarks
This notification is cancelable, allowing handlers to prevent the save operation
by setting Cancel to true.
Constructors
View SourceMemberGroupSavingNotification(IEnumerable<IMemberGroup>, EventMessages)
Initializes a new instance of the MemberGroupSavingNotification class with multiple member groups.
Declaration
public MemberGroupSavingNotification(IEnumerable<IMemberGroup> target, EventMessages messages)
Parameters
| Type | Name | Description |
|---|---|---|
| IEnumerable<IMemberGroup> | target | The member groups being saved. |
| EventMessages | messages | The event messages collection. |
MemberGroupSavingNotification(IMemberGroup, EventMessages)
Initializes a new instance of the MemberGroupSavingNotification class with a single member group.
Declaration
public MemberGroupSavingNotification(IMemberGroup target, EventMessages messages)
Parameters
| Type | Name | Description |
|---|---|---|
| IMemberGroup | target | The member group being saved. |
| EventMessages | messages | The event messages collection. |