Search Results for

    Show / Hide Table of Contents
    View Source

    Class ContentTypeRefreshNotification<T>

    Abstract base class for notifications related to content type cache refresh operations.

    Inheritance
    object
    StatefulNotification
    ObjectNotification<IEnumerable<ContentTypeChange<T>>>
    EnumerableObjectNotification<ContentTypeChange<T>>
    ContentTypeChangeNotification<T>
    Namespace: Umbraco.Cms.Core.Notifications
    Assembly: Umbraco.Core.dll
    Syntax
    public abstract class ContentTypeRefreshNotification<T> : ContentTypeChangeNotification<T>, IStatefulNotification, INotification where T : class, IContentTypeComposition
    Type Parameters
    Name Description
    T

    The type of content type composition.

    Remarks

    This notification is used internally for cache synchronization when content types are modified.

    Constructors

    View Source

    ContentTypeRefreshNotification(IEnumerable<ContentTypeChange<T>>, EventMessages)

    Initializes a new instance of the ContentTypeRefreshNotification<T> class with multiple content type changes.

    Declaration
    protected ContentTypeRefreshNotification(IEnumerable<ContentTypeChange<T>> target, EventMessages messages)
    Parameters
    Type Name Description
    IEnumerable<ContentTypeChange<T>> target

    The collection of content type changes that occurred.

    EventMessages messages

    The event messages collection.

    View Source

    ContentTypeRefreshNotification(ContentTypeChange<T>, EventMessages)

    Initializes a new instance of the ContentTypeRefreshNotification<T> class with a single content type change.

    Declaration
    protected ContentTypeRefreshNotification(ContentTypeChange<T> target, EventMessages messages)
    Parameters
    Type Name Description
    ContentTypeChange<T> 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