Search Results for

    Show / Hide Table of Contents
    View Source

    Class ContentTypeRefreshedNotification

    Notification published when content types have been refreshed in the cache.

    Inheritance
    object
    StatefulNotification
    ObjectNotification<IEnumerable<ContentTypeChange<IContentType>>>
    EnumerableObjectNotification<ContentTypeChange<IContentType>>
    ContentTypeChangeNotification<IContentType>
    ContentTypeRefreshNotification<IContentType>
    Namespace: Umbraco.Cms.Core.Notifications
    Assembly: Umbraco.Core.dll
    Syntax
    [Obsolete("This is only used for the internal cache and will change, use saved notifications instead")]
    public class ContentTypeRefreshedNotification : ContentTypeRefreshNotification<IContentType>, IStatefulNotification, INotification
    Remarks

    This notification is used internally for cache synchronization purposes. For normal content type operations, use ContentTypeSavedNotification instead.

    Constructors

    View Source

    ContentTypeRefreshedNotification(IEnumerable<ContentTypeChange<IContentType>>, EventMessages)

    Initializes a new instance of the ContentTypeRefreshedNotification class with multiple content type changes.

    Declaration
    public ContentTypeRefreshedNotification(IEnumerable<ContentTypeChange<IContentType>> target, EventMessages messages)
    Parameters
    Type Name Description
    IEnumerable<ContentTypeChange<IContentType>> target

    The collection of content type changes that occurred.

    EventMessages messages

    The event messages collection.

    View Source

    ContentTypeRefreshedNotification(ContentTypeChange<IContentType>, EventMessages)

    Initializes a new instance of the ContentTypeRefreshedNotification class with a single content type change.

    Declaration
    public ContentTypeRefreshedNotification(ContentTypeChange<IContentType> target, EventMessages messages)
    Parameters
    Type Name Description
    ContentTypeChange<IContentType> target

    The content type change that occurred.

    EventMessages messages

    The event messages collection.

    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX