Class MemberTypeRefreshedNotification
Notification published when member types have been refreshed in the cache.
Inheritance
object
Namespace: Umbraco.Cms.Core.Notifications
Assembly: Umbraco.Core.dll
Syntax
[Obsolete("This is only used for the internal cache and will change, use tree change notifications instead")]
public class MemberTypeRefreshedNotification : ContentTypeRefreshNotification<IMemberType>, IStatefulNotification, INotification
Remarks
This notification is used internally for cache synchronization purposes. For normal member type operations, use tree change notifications instead.
Constructors
View SourceMemberTypeRefreshedNotification(IEnumerable<ContentTypeChange<IMemberType>>, EventMessages)
Initializes a new instance of the MemberTypeRefreshedNotification class with multiple member type changes.
Declaration
public MemberTypeRefreshedNotification(IEnumerable<ContentTypeChange<IMemberType>> target, EventMessages messages)
Parameters
| Type | Name | Description |
|---|---|---|
| IEnumerable<ContentTypeChange<IMemberType>> | target | The collection of member type changes that occurred. |
| EventMessages | messages | The event messages collection. |
MemberTypeRefreshedNotification(ContentTypeChange<IMemberType>, EventMessages)
Initializes a new instance of the MemberTypeRefreshedNotification class with a single member type change.
Declaration
public MemberTypeRefreshedNotification(ContentTypeChange<IMemberType> target, EventMessages messages)
Parameters
| Type | Name | Description |
|---|---|---|
| ContentTypeChange<IMemberType> | target | The member type change that occurred. |
| EventMessages | messages | The event messages collection. |