Class InMemoryTranslationMemory
Represents a bilingual in-memory translation memory.
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Sdl.LanguagePlatform.TranslationMemoryApi
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 |
---|---|---|
System.String | name | The translation memory name. |
Sdl.Core.Globalization.CultureCode | sourceLanguage | A region-qualified culture, representing the source language. |
Sdl.Core.Globalization.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 |
---|---|
System.ArgumentNullException | Thrown when |
System.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 |
---|---|---|
System.String | permission |
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
RefreshStatusInfo()
Refreshes the current status information.
Declaration
public override void RefreshStatusInfo()