Class ExternalMemberCacheRefresher.JsonPayload
Represents the JSON payload for external member cache refresh operations.
Inheritance
Namespace: Umbraco.Cms.Core.Cache
Assembly: Umbraco.Core.dll
Syntax
public class ExternalMemberCacheRefresher.JsonPayload
Constructors
View SourceJsonPayload(int, Guid, bool, bool)
Initializes a new instance of the ExternalMemberCacheRefresher.JsonPayload class.
Declaration
public JsonPayload(int id, Guid key, bool removed, bool indexableFieldsChanged = true)
Parameters
| Type | Name | Description |
|---|---|---|
| int | id | The integer identifier of the external member. |
| Guid | key | The unique key of the external member. |
| bool | removed | Whether the external member was removed. |
| bool | indexableFieldsChanged | Whether any field that is part of the Examine value set has changed as part of this operation.
Defaults to |
Properties
View SourceId
Gets the integer identifier of the external member (used as the Examine document ID).
Declaration
public int Id { get; }
Property Value
| Type | Description |
|---|---|
| int |
IndexableFieldsChanged
Gets a value indicating whether any indexable field changed as part of the originating save.
Declaration
public bool IndexableFieldsChanged { get; }
Property Value
| Type | Description |
|---|---|
| bool |
Remarks
Explicitly set to false on login-only updates (which do not bump
UpdateDate) so that the Examine indexing handlers skip re-indexing this payload.
Key
Gets the unique key of the external member.
Declaration
public Guid Key { get; }
Property Value
| Type | Description |
|---|---|
| Guid |
Removed
Gets a value indicating whether the external member was removed.
Declaration
public bool Removed { get; }
Property Value
| Type | Description |
|---|---|
| bool |