Search Results for

    Show / Hide Table of Contents
    View Source

    Class ElementCacheRefresher.JsonPayload

    Represents a JSON-serializable payload containing information about an element 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 ElementCacheRefresher.JsonPayload

    Constructors

    View Source

    JsonPayload(int, Guid, TreeChangeTypes)

    Declaration
    public JsonPayload(int id, Guid key, TreeChangeTypes changeTypes)
    Parameters
    Type Name Description
    int id
    Guid key
    TreeChangeTypes changeTypes

    Properties

    View Source

    ChangeTypes

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

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

    Id

    Gets the unique integer identifier for the entity.

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

    Key

    Gets the unique GUID key associated with the entity.

    Declaration
    public Guid Key { get; }
    Property Value
    Type Description
    Guid
    View Source

    PublishedCultures

    Gets the collection of culture codes in which the element 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 element 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