Class MemberTypeChangedNotification
A notification that is published when a MemberType is saved or deleted, after the transaction has completed. This is mainly used for caching purposes, and generally not recommended. Use MemberTypeSavedNotification and MemberTypeDeletedNotification instead.
Inheritance
object
Namespace: Umbraco.Cms.Core.Notifications
Assembly: Umbraco.Core.dll
Syntax
public class MemberTypeChangedNotification : ContentTypeChangeNotification<IMemberType>, IStatefulNotification, INotification
Constructors
View SourceMemberTypeChangedNotification(IEnumerable<ContentTypeChange<IMemberType>>, EventMessages)
Initializes a new instance of the MemberTypeChangedNotification class with multiple content type changes.
Declaration
public MemberTypeChangedNotification(IEnumerable<ContentTypeChange<IMemberType>> target, EventMessages messages)
Parameters
| Type | Name | Description |
|---|---|---|
| IEnumerable<ContentTypeChange<IMemberType>> | target | The content type change information for the member types. |
| EventMessages | messages | The event messages collection. |
MemberTypeChangedNotification(ContentTypeChange<IMemberType>, EventMessages)
Initializes a new instance of the MemberTypeChangedNotification class with a single content type change.
Declaration
public MemberTypeChangedNotification(ContentTypeChange<IMemberType> target, EventMessages messages)
Parameters
| Type | Name | Description |
|---|---|---|
| ContentTypeChange<IMemberType> | target | The content type change information for the member type. |
| EventMessages | messages | The event messages collection. |