Search Results for

    Show / Hide Table of Contents
    View Source

    Interface IMachineIdentityProvider

    Provides a machine identifier for use in cache synchronisation tracking.

    Namespace: Umbraco.Cms.Core.Factories
    Assembly: Umbraco.Core.dll
    Syntax
    public interface IMachineIdentityProvider
    Remarks

    Implementations are resolved in the order they are registered in MachineIdentityProviderCollection. The first implementation that returns a non-null value wins.

    Return null to indicate that the provider does not apply in the current environment, allowing the next provider in the collection to be tried.

    The returned value is the base identifier only — SiteName is appended by IMachineInfoFactory after provider resolution.

    Methods

    View Source

    GetMachineIdentifier()

    Gets the machine identifier, or null if this provider does not apply.

    Declaration
    string? GetMachineIdentifier()
    Returns
    Type Description
    string
    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX