Search Results for

    Show / Hide Table of Contents
    View Source

    Class MediaTreeChangeDistributedCacheNotificationHandler

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

    Inheritance
    System.Object
    DistributedCacheNotificationHandlerBase<TreeChange<IMedia>, MediaTreeChangeNotification>
    TreeChangeDistributedCacheNotificationHandlerBase<TreeChange<IMedia>, MediaTreeChangeNotification, IMedia>
    TreeChangeDistributedCacheNotificationHandlerBase<IMedia, MediaTreeChangeNotification>
    Namespace: Umbraco.Cms.Core.Cache
    Assembly: Umbraco.Core.dll
    Syntax
    public sealed class MediaTreeChangeDistributedCacheNotificationHandler : TreeChangeDistributedCacheNotificationHandlerBase<IMedia, MediaTreeChangeNotification>, IDistributedCacheNotificationHandler<MediaTreeChangeNotification>, INotificationHandler<MediaTreeChangeNotification>, IDistributedCacheNotificationHandler, INotificationHandler

    Constructors

    View Source

    MediaTreeChangeDistributedCacheNotificationHandler(DistributedCache)

    Initializes a new instance of the MediaTreeChangeDistributedCacheNotificationHandler class.

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

    The distributed cache.

    Methods

    View Source

    Handle(IEnumerable<TreeChange<IMedia>>)

    Handles the specified entities.

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