Search Results for

    Show / Hide Table of Contents

    Interface ITerminologyProviderFactory

    This interface defines a Terminology Provider Factory class that can be used as a plug-in based on the Sdl.Core.PluginFramework Extensions API

    Namespace: Sdl.Terminology.TerminologyProvider.Core
    Assembly: Sdl.Terminology.TerminologyProvider.Core.dll
    Syntax
    public interface ITerminologyProviderFactory
    Remarks

    Implementations of this class should be marked up with a TerminologyProviderFactoryAttribute extension attribute in order for the factory to be available.

    Methods

    CreateTerminologyProvider(Uri, ITerminologyProviderCredentialStore)

    Creates an instance of the terminology provider defined by the specified URI.

    Declaration
    ITerminologyProvider CreateTerminologyProvider(Uri terminologyProviderUri, ITerminologyProviderCredentialStore credentials)
    Parameters
    Type Name Description
    Uri terminologyProviderUri

    A URI that identifies the translation provider to create.

    ITerminologyProviderCredentialStore credentials

    A credential store object that can be used to retrieve credentials required for this terminology provider.

    Returns
    Type Description
    ITerminologyProvider

    A new terminology provider object, ready to be used.

    Exceptions
    Type Condition
    ArgumentNullException

    Thrown if terminologyProviderUri or credentials is null.

    ArgumentException

    Thrown if terminologyProviderUri is not supported by this factory.

    SupportsTerminologyProviderUri(Uri)

    Returns true if this factory supports the specified URI.

    Declaration
    bool SupportsTerminologyProviderUri(Uri terminologyProviderUri)
    Parameters
    Type Name Description
    Uri terminologyProviderUri

    The Uri.

    Returns
    Type Description
    bool

    True if this factory supports the specified URI.

    In this article
    • Methods
      • CreateTerminologyProvider(Uri, ITerminologyProviderCredentialStore)
      • SupportsTerminologyProviderUri(Uri)
    Back to top Generated by DocFX