Class LanguageCacheRefresher.JsonPayload
Represents the JSON payload for language cache refresh operations.
Inheritance
object
Namespace: Umbraco.Cms.Core.Cache
Assembly: Umbraco.Core.dll
Syntax
public class LanguageCacheRefresher.JsonPayload
Constructors
View SourceJsonPayload(int, string, LanguageChangeType)
Initializes a new instance of the LanguageCacheRefresher.JsonPayload class.
Declaration
public JsonPayload(int id, string isoCode, LanguageCacheRefresher.JsonPayload.LanguageChangeType changeType)
Parameters
| Type | Name | Description |
|---|---|---|
| int | id | The identifier of the language. |
| string | isoCode | The ISO code of the language. |
| LanguageCacheRefresher.JsonPayload.LanguageChangeType | changeType | The type of change that occurred. |
Properties
View SourceChangeType
Gets the type of change that occurred.
Declaration
public LanguageCacheRefresher.JsonPayload.LanguageChangeType ChangeType { get; }
Property Value
| Type | Description |
|---|---|
| LanguageCacheRefresher.JsonPayload.LanguageChangeType |
Id
Gets the identifier of the language.
Declaration
public int Id { get; }
Property Value
| Type | Description |
|---|---|
| int |
IsoCode
Gets the ISO code of the language.
Declaration
public string IsoCode { get; }
Property Value
| Type | Description |
|---|---|
| string |