Class ExternalMemberSavingNotification
Notification that is published before an external member is saved.
Inheritance
object
Namespace: Umbraco.Cms.Core.Notifications
Assembly: Umbraco.Core.dll
Syntax
public sealed class ExternalMemberSavingNotification : SavingNotification<ExternalMemberIdentity>, IStatefulNotification, ICancelableNotification, INotification
Remarks
This notification is cancelable, allowing handlers to prevent the save operation. The notification is published by the IExternalMemberService before the external member is persisted.
Constructors
View SourceExternalMemberSavingNotification(IEnumerable<ExternalMemberIdentity>, EventMessages)
Initializes a new instance of the ExternalMemberSavingNotification class with multiple external members.
Declaration
public ExternalMemberSavingNotification(IEnumerable<ExternalMemberIdentity> target, EventMessages messages)
Parameters
| Type | Name | Description |
|---|---|---|
| IEnumerable<ExternalMemberIdentity> | target | The collection of external members being saved. |
| EventMessages | messages | The event messages collection. |
ExternalMemberSavingNotification(ExternalMemberIdentity, EventMessages)
Initializes a new instance of the ExternalMemberSavingNotification class with a single external member.
Declaration
public ExternalMemberSavingNotification(ExternalMemberIdentity target, EventMessages messages)
Parameters
| Type | Name | Description |
|---|---|---|
| ExternalMemberIdentity | target | The external member being saved. |
| EventMessages | messages | The event messages collection. |