Class RemoteTranslationMemory
Base class used by ServerBasedTranslationMemory and CloudBasedTranslationMemory
Inheritance
Implements
Inherited Members
Namespace: Sdl.LanguagePlatform.TranslationMemoryApi
Assembly: Sdl.LanguagePlatform.TranslationMemoryApi.dll
Syntax
public abstract class RemoteTranslationMemory : INotifyPropertyChanged, IEditableObject
Constructors
RemoteTranslationMemory(TranslationMemoryEntity)
Declaration
protected RemoteTranslationMemory(TranslationMemoryEntity entity)
Parameters
Type | Name | Description |
---|---|---|
Sdl.LanguagePlatform.ServerBasedTranslationMemory.Contracts.Entities.TranslationMemoryEntity | entity |
Properties
BackupEntity
Declaration
protected TranslationMemoryEntity BackupEntity { get; }
Property Value
Type | Description |
---|---|
Sdl.LanguagePlatform.ServerBasedTranslationMemory.Contracts.Entities.TranslationMemoryEntity |
Copyright
Gets or sets the copyright of the translation memory.
Declaration
public string Copyright { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Exceptions
Type | Condition |
---|---|
ObjectDeletedException | Thrown when this object has been deleted. |
CreationDate
Gets the creation date of this translation memory.
Declaration
public DateTime CreationDate { get; }
Property Value
Type | Description |
---|---|
System.DateTime |
Exceptions
Type | Condition |
---|---|
ObjectDeletedException | Thrown when this object has been deleted. |
Description
Gets or sets the description of the tm.
Declaration
public string Description { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Exceptions
Type | Condition |
---|---|
ObjectDeletedException | Thrown when this object has been deleted. |
FuzzyIndexes
Gets or sets the set of fuzzy indices defined on this TM.
Declaration
public FuzzyIndexes FuzzyIndexes { get; set; }
Property Value
Type | Description |
---|---|
FuzzyIndexes |
Exceptions
Type | Condition |
---|---|
ObjectDeletedException | Thrown when this object has been deleted. |
Id
Gets or sets a unique Id for this database server.
Declaration
public Guid Id { get; }
Property Value
Type | Description |
---|---|
System.Guid |
Remarks
This is auto-generated by the system.
Exceptions
Type | Condition |
---|---|
ObjectDeletedException | Thrown when this object has been deleted. |
IsDeleted
Returns
true
if this translation memory has been deleted.
Declaration
public bool IsDeleted { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsNewObject
Returns
true
if this translation memory has not been saved yet.
Declaration
public bool IsNewObject { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Name
Gets the user-friendly name of this provider. It is not necessarily unique across the system.
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Exceptions
Type | Condition |
---|---|
ObjectDeletedException | Thrown when this object has been deleted. |
Recognizers
Gets or sets the recognizers which are enabled for this TM.
Declaration
public BuiltinRecognizers Recognizers { get; set; }
Property Value
Type | Description |
---|---|
BuiltinRecognizers |
Exceptions
Type | Condition |
---|---|
ObjectDeletedException | Thrown when this object has been deleted. |
Methods
OnPropertyChanged(String)
Declaration
protected void OnPropertyChanged(string property)
Parameters
Type | Name | Description |
---|---|---|
System.String | property |
VerifyNotDeleted()
Verifies that translation memory has not been deleted.
Declaration
protected void VerifyNotDeleted()