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 Terminology
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. |
ITerminology |
credentials | A credential store object that can be used to retrieve credentials required for this terminology provider. |
Returns
Type | Description |
---|---|
ITerminology |
A new terminology provider object, ready to be used. |
Remarks
Implementations of this class should be marked up with a Terminology
Exceptions
Type | Condition |
---|---|
System. |
Thrown if |
Argument |
Thrown if |
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 |
---|---|
Boolean | True if this factory supports the specified URI. |
Remarks
Implementations of this class should be marked up with a Terminology