Class MediaCacheRefresher.JsonPayload
Represents the JSON payload for media cache refresh operations.
Inheritance
object
Namespace: Umbraco.Cms.Core.Cache
Assembly: Umbraco.Core.dll
Syntax
public class MediaCacheRefresher.JsonPayload
Constructors
View SourceJsonPayload(int, Guid?, TreeChangeTypes)
Initializes a new instance of the MediaCacheRefresher.JsonPayload class.
Declaration
public JsonPayload(int id, Guid? key, TreeChangeTypes changeTypes)
Parameters
| Type | Name | Description |
|---|---|---|
| int | id | The identifier of the media item. |
| Guid? | key | The unique key of the media item. |
| TreeChangeTypes | changeTypes | The types of changes that occurred. |
Properties
View SourceChangeTypes
Gets the types of changes that occurred.
Declaration
public TreeChangeTypes ChangeTypes { get; }
Property Value
| Type | Description |
|---|---|
| TreeChangeTypes |
Id
Gets the identifier of the media item.
Declaration
public int Id { get; }
Property Value
| Type | Description |
|---|---|
| int |
Key
Gets the unique key of the media item.
Declaration
public Guid? Key { get; }
Property Value
| Type | Description |
|---|---|
| Guid? |