Search Results for

    Show / Hide Table of Contents
    View Source

    Class ConstructorCacheClearNotificationHandler

    Handles notifications that trigger the clearing of the constructor cache for property value converters.

    Inheritance
    object
    Namespace: Umbraco.Cms.Core.PropertyEditors.ValueConverters
    Assembly: Umbraco.Infrastructure.dll
    Syntax
    public class ConstructorCacheClearNotificationHandler : INotificationHandler<ContentTypeCacheRefresherNotification>, INotificationHandler<DataTypeCacheRefresherNotification>, INotificationHandler

    Constructors

    View Source

    ConstructorCacheClearNotificationHandler(BlockListPropertyValueConstructorCache, BlockGridPropertyValueConstructorCache, RichTextBlockPropertyValueConstructorCache)

    Initializes a new instance of the ConstructorCacheClearNotificationHandler class.

    Declaration
    public ConstructorCacheClearNotificationHandler(BlockListPropertyValueConstructorCache blockListPropertyValueConstructorCache, BlockGridPropertyValueConstructorCache blockGridPropertyValueConstructorCache, RichTextBlockPropertyValueConstructorCache richTextBlockPropertyValueConstructorCache)
    Parameters
    Type Name Description
    BlockListPropertyValueConstructorCache blockListPropertyValueConstructorCache

    Cache for block list property value constructors.

    BlockGridPropertyValueConstructorCache blockGridPropertyValueConstructorCache

    Cache for block grid property value constructors.

    RichTextBlockPropertyValueConstructorCache richTextBlockPropertyValueConstructorCache

    Cache for rich text block property value constructors.

    Methods

    View Source

    Handle(ContentTypeCacheRefresherNotification)

    Handles a notification to clear the constructor cache when content type changes occur.

    Declaration
    public void Handle(ContentTypeCacheRefresherNotification notification)
    Parameters
    Type Name Description
    ContentTypeCacheRefresherNotification notification

    The notification that triggers the cache clearing process.

    View Source

    Handle(DataTypeCacheRefresherNotification)

    Handles a DataTypeCacheRefresherNotification to clear the constructor cache when data type changes occur.

    Declaration
    public void Handle(DataTypeCacheRefresherNotification notification)
    Parameters
    Type Name Description
    DataTypeCacheRefresherNotification notification

    The DataTypeCacheRefresherNotification that triggers the cache clearing process.

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