Search Results for

    Show / Hide Table of Contents
    View Source

    Class MediaTypeRefreshedNotification

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

    Inheritance
    object
    StatefulNotification
    ObjectNotification<IEnumerable<ContentTypeChange<IMediaType>>>
    EnumerableObjectNotification<ContentTypeChange<IMediaType>>
    ContentTypeChangeNotification<IMediaType>
    ContentTypeRefreshNotification<IMediaType>
    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 MediaTypeRefreshedNotification : ContentTypeRefreshNotification<IMediaType>, IStatefulNotification, INotification
    Remarks

    This notification is used internally for cache synchronization purposes. For normal media type operations, use tree change notifications instead.

    Constructors

    View Source

    MediaTypeRefreshedNotification(IEnumerable<ContentTypeChange<IMediaType>>, EventMessages)

    Initializes a new instance of the MediaTypeRefreshedNotification class with multiple media type changes.

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

    The collection of media type changes that occurred.

    EventMessages messages

    The event messages collection.

    View Source

    MediaTypeRefreshedNotification(ContentTypeChange<IMediaType>, EventMessages)

    Initializes a new instance of the MediaTypeRefreshedNotification class with a single media type change.

    Declaration
    public MediaTypeRefreshedNotification(ContentTypeChange<IMediaType> target, EventMessages messages)
    Parameters
    Type Name Description
    ContentTypeChange<IMediaType> target

    The media 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