Class InMemoryTranslationMemory
Represents a bilingual in-memory translation memory.
Inherited Members
Namespace: SdlSdl.LanguagePlatformTranslationMemoryApi
Assembly: Sdl.LanguagePlatform.TranslationMemoryApi.dll
Syntax
public class InMemoryTranslationMemory : AbstractLocalTranslationMemory, ITranslationMemory, ITranslationProvider, ISupportPlaceables, ILocalTranslationMemory
Constructors
InMemoryTranslationMemory(string, CultureCode, CultureCode, FuzzyIndexes, BuiltinRecognizers)
Creates a new bilingual in-memory translation memory.
Declaration
public InMemoryTranslationMemory(string name, CultureCode sourceLanguage, CultureCode targetLanguage, FuzzyIndexes indexes, BuiltinRecognizers recognizers)
Parameters
Type | Name | Description |
---|---|---|
string | name | The translation memory name. |
CultureCode | sourceLanguage | A region-qualified culture, representing the source language. |
CultureCode | targetLanguage | A region-qualified culture, representing the target language. |
FuzzyIndexes | indexes | The set of fuzzy indexes that should be created in this translation memory. |
BuiltinRecognizers | recognizers | Recognizer settings. |
Exceptions
Type | Condition |
---|---|
ArgumentNullException | Thrown when |
ArgumentException | Thrown when |
Properties
StatusInfo
Always returns "OK".
Declaration
public override ProviderStatusInfo StatusInfo { get; }
Property Value
Type | Description |
---|---|
ProviderStatusInfo |
Overrides
Methods
HasPermission(string)
Always returns
true
.
Declaration
public override bool HasPermission(string permission)
Parameters
Type | Name | Description |
---|---|---|
string | permission |
Returns
Type | Description |
---|---|
bool |
Overrides
RefreshStatusInfo()
Refreshes the current status information.
Declaration
public override void RefreshStatusInfo()