Search Results for

    Show / Hide Table of Contents
    View Source

    Interface IServiceConnector2

    Namespace: Umbraco.Cms.Core.Deploy
    Assembly: Umbraco.Core.dll
    Syntax
    public interface IServiceConnector2 : IServiceConnector, IDiscoverable
    Remarks

    This interface will be merged back into IServiceConnector and removed in Umbraco 13.

    Methods

    View Source

    GetArtifact(Object, IContextCache)

    Gets an artifact.

    Declaration
    IArtifact GetArtifact(object entity, IContextCache contextCache)
    Parameters
    Type Name Description
    System.Object entity

    The entity.

    IContextCache contextCache

    The context cache.

    Returns
    Type Description
    IArtifact

    The corresponding artifact.

    View Source

    GetArtifact(Udi, IContextCache)

    Gets an artifact.

    Declaration
    IArtifact GetArtifact(Udi udi, IContextCache contextCache)
    Parameters
    Type Name Description
    Udi udi

    The entity identifier of the artifact.

    IContextCache contextCache

    The context cache.

    Returns
    Type Description
    IArtifact

    The corresponding artifact, or null.

    Explicit Interface Implementations

    View Source

    IServiceConnector.GetArtifact(Object)

    Gets an artifact.

    Declaration
    IArtifact IServiceConnector.GetArtifact(object entity)
    Parameters
    Type Name Description
    System.Object entity

    The entity.

    Returns
    Type Description
    IArtifact

    The corresponding artifact.

    View Source

    IServiceConnector.GetArtifact(Udi)

    Gets an artifact.

    Declaration
    IArtifact IServiceConnector.GetArtifact(Udi udi)
    Parameters
    Type Name Description
    Udi udi

    The entity identifier of the artifact.

    Returns
    Type Description
    IArtifact

    The corresponding artifact, or null.

    • Improve this Doc
    • View Source
    In This Article
    • Methods
      • GetArtifact(Object, IContextCache)
      • GetArtifact(Udi, IContextCache)
    • Explicit Interface Implementations
      • IServiceConnector.GetArtifact(Object)
      • IServiceConnector.GetArtifact(Udi)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX