Search Results for

    Show / Hide Table of Contents
    View Source

    Class ExternalMemberCacheRefresher.JsonPayload

    Represents the JSON payload for external member cache refresh operations.

    Inheritance
    object
    Namespace: Umbraco.Cms.Core.Cache
    Assembly: Umbraco.Core.dll
    Syntax
    public class ExternalMemberCacheRefresher.JsonPayload

    Constructors

    View Source

    JsonPayload(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 true. When false, Examine indexing handlers skip the re-index for this payload.

    Properties

    View Source

    Id

    Gets the integer identifier of the external member (used as the Examine document ID).

    Declaration
    public int Id { get; }
    Property Value
    Type Description
    int
    View Source

    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.

    View Source

    Key

    Gets the unique key of the external member.

    Declaration
    public Guid Key { get; }
    Property Value
    Type Description
    Guid
    View Source

    Removed

    Gets a value indicating whether the external member was removed.

    Declaration
    public bool Removed { get; }
    Property Value
    Type Description
    bool
    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX