Search Results for

    Show / Hide Table of Contents
    View Source

    Class MediaTypeChangedDistributedCacheNotificationHandler

    Defines a handler for a TNotification that triggers a distributed cache refresher.

    Inheritance
    System.Object
    DistributedCacheNotificationHandlerBase<ContentTypeChange<IMediaType>, MediaTypeChangedNotification>
    ContentTypeChangedDistributedCacheNotificationHandlerBase<ContentTypeChange<IMediaType>, MediaTypeChangedNotification, IMediaType>
    ContentTypeChangedDistributedCacheNotificationHandlerBase<IMediaType, MediaTypeChangedNotification>
    Namespace: Umbraco.Cms.Core.Cache
    Assembly: Umbraco.Core.dll
    Syntax
    public sealed class MediaTypeChangedDistributedCacheNotificationHandler : ContentTypeChangedDistributedCacheNotificationHandlerBase<IMediaType, MediaTypeChangedNotification>, IDistributedCacheNotificationHandler<MediaTypeChangedNotification>, INotificationHandler<MediaTypeChangedNotification>, IDistributedCacheNotificationHandler, INotificationHandler

    Constructors

    View Source

    MediaTypeChangedDistributedCacheNotificationHandler(DistributedCache)

    Initializes a new instance of the MediaTypeChangedDistributedCacheNotificationHandler class.

    Declaration
    public MediaTypeChangedDistributedCacheNotificationHandler(DistributedCache distributedCache)
    Parameters
    Type Name Description
    DistributedCache distributedCache

    The distributed cache.

    Methods

    View Source

    Handle(IEnumerable<ContentTypeChange<IMediaType>>)

    Handles the specified entities.

    Declaration
    protected override void Handle(IEnumerable<ContentTypeChange<IMediaType>> entities)
    Parameters
    Type Name Description
    IEnumerable<ContentTypeChange<IMediaType>> entities
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • MediaTypeChangedDistributedCacheNotificationHandler(DistributedCache)
    • Methods
      • Handle(IEnumerable<ContentTypeChange<IMediaType>>)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX