Class TerminologyProviderManager
Singleton class, responsible for creating and getting available terminology providers. It maintains a list of created terminology providers based on its Uri address.
Inherited Members
Namespace: SdlSdl.TerminologySdl.Terminology.TerminologyProviderCore
Assembly: Sdl.Terminology.TerminologyProvider.Core.dll
Syntax
public class TerminologyProviderManager : ITerminologyProviderManager, IDisposable
Properties
DefaultTerminologyCredentialStore
Property for default terminology credential store
Declaration
public static ITerminologyProviderCredentialStore DefaultTerminologyCredentialStore { get; }
Property Value
Type | Description |
---|---|
ITerminologyProviderCredentialStore |
Instance
Instance property represents the singleton instance
Declaration
public static ITerminologyProviderManager Instance { get; }
Property Value
Type | Description |
---|---|
ITerminologyProviderManager |
Methods
Dispose()
Cleanup memory Dispose()
Declaration
public void Dispose()
Dispose(bool)
Cleanup memory Dispose()
Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
bool | disposing |
GetTerminologyProvider(Uri)
Get an instance of a terminology provider, specified by its uri.
Declaration
public ITerminologyProvider GetTerminologyProvider(Uri uri)
Parameters
Type | Name | Description |
---|---|---|
Uri | uri | The Uri address of the terminology provider. |
Returns
Type | Description |
---|---|
ITerminologyProvider | The terminology provider instance. |
GetTerminologyProvider(Uri, ITerminologyProviderCredentialStore)
Get an instance of a terminology provider, specified by its Uri.
Declaration
public ITerminologyProvider GetTerminologyProvider(Uri uri, ITerminologyProviderCredentialStore credentials)
Parameters
Type | Name | Description |
---|---|---|
Uri | uri | The Uri address of the terminology provider. |
ITerminologyProviderCredentialStore | credentials | The credential store containing the provider credential to perform login. |
Returns
Type | Description |
---|---|
ITerminologyProvider | The terminology provider instance. |
GetTerminologyProviderViewerWinFormsUI(Uri)
Returns the terminology provider viewer win forms UI object specific for the input URI
Declaration
public ITerminologyProviderViewerWinFormsUI GetTerminologyProviderViewerWinFormsUI(Uri uri)
Parameters
Type | Name | Description |
---|---|---|
Uri | uri | The terminology provider URI. |
Returns
Type | Description |
---|---|
ITerminologyProviderViewerWinFormsUI | The terminology provider viewer win forms UI. |
GetTerminologyProviderViewerWinFormsUIs()
Returns the list of available terminology provider viewer win forms UI
Declaration
public IEnumerable<ITerminologyProviderViewerWinFormsUI> GetTerminologyProviderViewerWinFormsUIs()
Returns
Type | Description |
---|---|
IEnumerableITerminologyProviderViewerWinFormsUI | The list of available terminology provider viewer win forms UI. |
GetTerminologyProviderWinFormsUI(Uri)
Returns the win forms UI for the specified terminology provider
Declaration
public ITerminologyProviderWinFormsUI GetTerminologyProviderWinFormsUI(Uri uri)
Parameters
Type | Name | Description |
---|---|---|
Uri | uri | The terminology provider URI. |
Returns
Type | Description |
---|---|
ITerminologyProviderWinFormsUI | The win forms UI. |
GetTerminologyProviderWinFormsUIs()
Returns the list of all available terminology providers that have implementations for win forms UI.
Declaration
public IEnumerable<ITerminologyProviderWinFormsUI> GetTerminologyProviderWinFormsUIs()
Returns
Type | Description |
---|---|
IEnumerableITerminologyProviderWinFormsUI | The list of terminology providers win forms UI. |
RemoveTerminologyProvider(Uri)
Remove a terminology provider based on uri
Declaration
public bool RemoveTerminologyProvider(Uri uri)
Parameters
Type | Name | Description |
---|---|---|
Uri | uri |
Returns
Type | Description |
---|---|
bool | True if remove was successfully. Otherwise false |