Search Results for

    Show / Hide Table of Contents
    View Source

    Class ContentTypeChangedDistributedCacheNotificationHandler

    Supports all classes in the .NET class hierarchy and provides low-level services to derived classes. This is the ultimate base class of all .NET classes; it is the root of the type hierarchy.

    Inheritance
    object
    DistributedCacheNotificationHandlerBase<ContentTypeChange<IContentType>, ContentTypeChangedNotification>
    ContentTypeChangedDistributedCacheNotificationHandlerBase<ContentTypeChange<IContentType>, ContentTypeChangedNotification, IContentType>
    ContentTypeChangedDistributedCacheNotificationHandlerBase<IContentType, ContentTypeChangedNotification>
    Namespace: Umbraco.Cms.Core.Cache
    Assembly: Umbraco.Core.dll
    Syntax
    public sealed class ContentTypeChangedDistributedCacheNotificationHandler : ContentTypeChangedDistributedCacheNotificationHandlerBase<IContentType, ContentTypeChangedNotification>, IDistributedCacheNotificationHandler<ContentTypeChangedNotification>, INotificationHandler<ContentTypeChangedNotification>, IDistributedCacheNotificationHandler, INotificationHandler

    Constructors

    View Source

    ContentTypeChangedDistributedCacheNotificationHandler(DistributedCache)

    Initializes a new instance of the ContentTypeChangedDistributedCacheNotificationHandler class.

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

    The distributed cache.

    Methods

    View Source

    Handle(IEnumerable<ContentTypeChange<IContentType>>)

    Handles the specified entities.

    Declaration
    [Obsolete("Scheduled for removal in Umbraco 18.")]
    protected override void Handle(IEnumerable<ContentTypeChange<IContentType>> entities)
    Parameters
    Type Name Description
    IEnumerable<ContentTypeChange<IContentType>> entities

    The entities.

    View Source

    Handle(IEnumerable<ContentTypeChange<IContentType>>, IDictionary<string, object?>)

    Handles the specified entities.

    Declaration
    protected override void Handle(IEnumerable<ContentTypeChange<IContentType>> entities, IDictionary<string, object?> state)
    Parameters
    Type Name Description
    IEnumerable<ContentTypeChange<IContentType>> entities

    The entities.

    IDictionary<string, object> state

    The notification state.

    • Edit this page
    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX