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: Sdl.LanguagePlatform.TranslationMemoryApi
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 |
---|---|---|
System.Uri | translationProviderUri | A URI that identifies the translation provider to create. |
System.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 |
---|---|
System.ArgumentNullException | Thrown if |
System.ArgumentException | Thrown if |
System.ArgumentException | Thrown if |
TranslationProviderAuthenticationException | Thrown when no appropriate credentials are available in the credential store. |