Search Results for

    Show / Hide Table of Contents
    View Source

    Class TemplateSavedDistributedCacheNotificationHandler

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

    Inheritance
    System.Object
    DistributedCacheNotificationHandlerBase<ITemplate, TemplateSavedNotification>
    SavedDistributedCacheNotificationHandlerBase<ITemplate, TemplateSavedNotification, ITemplate>
    SavedDistributedCacheNotificationHandlerBase<ITemplate, TemplateSavedNotification>
    Namespace: Umbraco.Cms.Core.Cache
    Assembly: Umbraco.Core.dll
    Syntax
    public sealed class TemplateSavedDistributedCacheNotificationHandler : SavedDistributedCacheNotificationHandlerBase<ITemplate, TemplateSavedNotification>, IDistributedCacheNotificationHandler<TemplateSavedNotification>, INotificationHandler<TemplateSavedNotification>, IDistributedCacheNotificationHandler, INotificationHandler

    Constructors

    View Source

    TemplateSavedDistributedCacheNotificationHandler(DistributedCache)

    Initializes a new instance of the TemplateSavedDistributedCacheNotificationHandler class.

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

    The distributed cache.

    Methods

    View Source

    Handle(IEnumerable<ITemplate>)

    Handles the specified entities.

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