Class ContentTypeCacheRefresher.JsonPayload
Represents the JSON payload for content type cache refresh operations.
Inheritance
object
Namespace: Umbraco.Cms.Core.Cache
Assembly: Umbraco.Core.dll
Syntax
public class ContentTypeCacheRefresher.JsonPayload
Constructors
View SourceJsonPayload(string, int, ContentTypeChangeTypes)
Initializes a new instance of the ContentTypeCacheRefresher.JsonPayload class.
Declaration
public JsonPayload(string itemType, int id, ContentTypeChangeTypes changeTypes)
Parameters
| Type | Name | Description |
|---|---|---|
| string | itemType | The type name of the content type. |
| int | id | The identifier of the content type. |
| ContentTypeChangeTypes | changeTypes | The types of changes that occurred. |
Properties
View SourceChangeTypes
Gets the types of changes that occurred.
Declaration
public ContentTypeChangeTypes ChangeTypes { get; }
Property Value
| Type | Description |
|---|---|
| ContentTypeChangeTypes |
Id
Gets the identifier of the content type.
Declaration
public int Id { get; }
Property Value
| Type | Description |
|---|---|
| int |
ItemType
Gets the type name of the content type (e.g., IContentType, IMediaType, IMemberType).
Declaration
public string ItemType { get; }
Property Value
| Type | Description |
|---|---|
| string |