Search Results for

    Show / Hide Table of Contents
    View Source

    Class DataTypeCacheRefresher

    Inheritance
    object
    CacheRefresherBase<DataTypeCacheRefresherNotification>
    JsonCacheRefresherBase<DataTypeCacheRefresherNotification, DataTypeCacheRefresher.JsonPayload>
    PayloadCacheRefresherBase<DataTypeCacheRefresherNotification, DataTypeCacheRefresher.JsonPayload>
    Namespace: Umbraco.Cms.Core.Cache
    Assembly: Umbraco.Core.dll
    Syntax
    public sealed class DataTypeCacheRefresher : PayloadCacheRefresherBase<DataTypeCacheRefresherNotification, DataTypeCacheRefresher.JsonPayload>, IPayloadCacheRefresher<DataTypeCacheRefresher.JsonPayload>, IJsonCacheRefresher, ICacheRefresher, IDiscoverable

    Constructors

    View Source

    DataTypeCacheRefresher(AppCaches, IJsonSerializer, IIdKeyMap, IEventAggregator, ICacheRefresherNotificationFactory, IPublishedModelFactory, IPublishedContentTypeFactory, IPublishedContentTypeCache, IDocumentCacheService, IMediaCacheService)

    Declaration
    public DataTypeCacheRefresher(AppCaches appCaches, IJsonSerializer serializer, IIdKeyMap idKeyMap, IEventAggregator eventAggregator, ICacheRefresherNotificationFactory factory, IPublishedModelFactory publishedModelFactory, IPublishedContentTypeFactory publishedContentTypeFactory, IPublishedContentTypeCache publishedContentTypeCache, IDocumentCacheService documentCacheService, IMediaCacheService mediaCacheService)
    Parameters
    Type Name Description
    AppCaches appCaches
    IJsonSerializer serializer
    IIdKeyMap idKeyMap
    IEventAggregator eventAggregator
    ICacheRefresherNotificationFactory factory
    IPublishedModelFactory publishedModelFactory
    IPublishedContentTypeFactory publishedContentTypeFactory
    IPublishedContentTypeCache publishedContentTypeCache
    IDocumentCacheService documentCacheService
    IMediaCacheService mediaCacheService

    Fields

    View Source

    UniqueId

    Declaration
    public static readonly Guid UniqueId
    Field Value
    Type Description
    Guid

    Properties

    View Source

    Name

    Gets the name of the refresher.

    Declaration
    public override string Name { get; }
    Property Value
    Type Description
    string
    View Source

    RefresherUniqueId

    Gets the unique identifier of the refresher.

    Declaration
    public override Guid RefresherUniqueId { get; }
    Property Value
    Type Description
    Guid

    Methods

    View Source

    Refresh(Guid)

    Refreshes an entity.

    Declaration
    public override void Refresh(Guid id)
    Parameters
    Type Name Description
    Guid id

    The entity's identifier.

    View Source

    Refresh(int)

    Refreshes an entity.

    Declaration
    public override void Refresh(int id)
    Parameters
    Type Name Description
    int id

    The entity's identifier.

    View Source

    Refresh(JsonPayload[])

    Refreshes as specified by a payload.

    Declaration
    public override void Refresh(DataTypeCacheRefresher.JsonPayload[] payloads)
    Parameters
    Type Name Description
    JsonPayload[] payloads

    The payload.

    View Source

    RefreshAll()

    Refreshes all entities.

    Declaration
    public override void RefreshAll()
    View Source

    RefreshInternal(JsonPayload[])

    Refreshes internal (isolated) caches by a payload.

    Declaration
    public override void RefreshInternal(DataTypeCacheRefresher.JsonPayload[] payloads)
    Parameters
    Type Name Description
    JsonPayload[] payloads

    The payload.

    View Source

    Remove(int)

    Removes an entity.

    Declaration
    public override void Remove(int id)
    Parameters
    Type Name Description
    int id

    The entity's identifier.

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