Search Results for

    Show / Hide Table of Contents
    View Source

    Class ContentCacheRefresher.JsonPayload

    Represents a JSON-serializable payload containing information about a content or tree change event, including identifiers, change types, and culture-specific publishing details.

    Inheritance
    object
    Namespace: Umbraco.Cms.Core.Cache
    Assembly: Umbraco.Core.dll
    Syntax
    public class ContentCacheRefresher.JsonPayload

    Constructors

    View Source

    JsonPayload()

    Declaration
    public JsonPayload()

    Properties

    View Source

    Blueprint

    Gets a value indicating whether the content represents a document blueprint.

    Declaration
    public bool Blueprint { get; init; }
    Property Value
    Type Description
    bool
    View Source

    ChangeTypes

    Gets the types of changes that have occurred in the tree.

    Declaration
    public TreeChangeTypes ChangeTypes { get; init; }
    Property Value
    Type Description
    TreeChangeTypes
    View Source

    Id

    Gets the unique integer identifier for the entity.

    Declaration
    public int Id { get; init; }
    Property Value
    Type Description
    int
    View Source

    Key

    Gets the unique GUID key associated with the entity, or null if no key is assigned.

    Declaration
    public Guid? Key { get; init; }
    Property Value
    Type Description
    Guid?
    Remarks

    Required when ChangeTypes includes Remove: the refresher clears the id/key map for a removed entity before the published-cache refresh runs, and the removed entity can no longer be looked up in the database, so the key cannot be resolved from Id alone.

    View Source

    PublishedCultures

    Gets the collection of culture codes in which the content is published.

    Declaration
    public string[]? PublishedCultures { get; init; }
    Property Value
    Type Description
    string[]
    View Source

    UnpublishedCultures

    Gets the collection of culture codes for which the content has been unpublished.

    Declaration
    public string[]? UnpublishedCultures { get; init; }
    Property Value
    Type Description
    string[]
    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX