Class MemberCacheRefresher.JsonPayload
Represents the JSON payload for member cache refresh operations.
Inheritance
object
Namespace: Umbraco.Cms.Core.Cache
Assembly: Umbraco.Core.dll
Syntax
public class MemberCacheRefresher.JsonPayload
Constructors
View SourceJsonPayload(int, string?, bool)
Initializes a new instance of the MemberCacheRefresher.JsonPayload class.
Declaration
public JsonPayload(int id, string? username, bool removed)
Parameters
| Type | Name | Description |
|---|---|---|
| int | id | The identifier of the member. |
| string | username | The username of the member. |
| bool | removed | Whether the member was removed. |
Properties
View SourceId
Gets the identifier of the member.
Declaration
public int Id { get; }
Property Value
| Type | Description |
|---|---|
| int |
PreviousUsername
Gets or sets the previous username of the member, if changed.
Declaration
public string? PreviousUsername { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Removed
Gets a value indicating whether the member was removed.
Declaration
public bool Removed { get; }
Property Value
| Type | Description |
|---|---|
| bool |
Username
Gets the username of the member.
Declaration
public string? Username { get; }
Property Value
| Type | Description |
|---|---|
| string |