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 SourceJsonPayload(int, Guid, TreeChangeTypes)
Declaration
public JsonPayload(int id, Guid key, TreeChangeTypes changeTypes)
Parameters
| Type | Name | Description |
|---|---|---|
| int | id | |
| Guid | key | |
| TreeChangeTypes | changeTypes |
Properties
View SourceChangeTypes
Gets the types of changes that have occurred in the tree.
Declaration
public TreeChangeTypes ChangeTypes { get; }
Property Value
| Type | Description |
|---|---|
| TreeChangeTypes |
Id
Gets the unique integer identifier for the entity.
Declaration
public int Id { get; }
Property Value
| Type | Description |
|---|---|
| int |
Key
Gets the unique GUID key associated with the entity.
Declaration
public Guid Key { get; }
Property Value
| Type | Description |
|---|---|
| Guid |
PublishedCultures
Gets the collection of culture codes in which the element is published.
Declaration
public string[]? PublishedCultures { get; init; }
Property Value
| Type | Description |
|---|---|
| string[] |
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[] |