Interface ITranslationProviderSummaryFactory
This interface defines an extension of Translation Provider Factory class that can be used as a plug-in based on the Sdl.Core.PluginFramework Extensions API
Namespace: SdlSdl.LanguagePlatformTranslationMemoryApi
Assembly: Sdl.LanguagePlatform.TranslationMemoryApi.dll
Syntax
public interface ITranslationProviderSummaryFactory
Remarks
Any class implementing this should first implement ITranslationProviderFactory.
Methods
GetTranslationProviderSummary(Uri, string, ITranslationProviderCredentialStore)
Creates a summary instance of the translation provider defined by the specified URI. No template information will be provided.
Declaration
ITranslationProvider GetTranslationProviderSummary(Uri translationProviderUri, string translationProviderState, ITranslationProviderCredentialStore credentialStore)
Parameters
Type | Name | Description |
---|---|---|
Uri | translationProviderUri | A URI that identifies the translation provider to create. |
string | translationProviderState | Serialized state information that should be used for configuring the translation provider. This is typically state information that was previously saved by calling SerializeState(). |
ITranslationProviderCredentialStore | credentialStore | A credential store object that can be used to retrieve credentials required for this translation provider. |
Returns
Type | Description |
---|---|
ITranslationProvider | A new translation provider object, ready to be used. |
Exceptions
Type | Condition |
---|---|
ArgumentNullException | Thrown if |
ArgumentException | Thrown if |
ArgumentException | Thrown if |
TranslationProviderAuthenticationException | Thrown when no appropriate credentials are available in the credential store. |