Search Results for

    Show / Hide Table of Contents

    Class RemoteTranslationMemory

    Base class used by ServerBasedTranslationMemory and CloudBasedTranslationMemory

    Inheritance
    object
    RemoteTranslationMemory
    ServerBasedTranslationMemory
    Implements
    INotifyPropertyChanged
    IEditableObject
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    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
    TranslationMemoryEntity entity

    Properties

    BackupEntity

    Declaration
    protected TranslationMemoryEntity BackupEntity { get; }
    Property Value
    Type Description
    TranslationMemoryEntity

    Copyright

    Gets or sets the copyright of the translation memory.

    Declaration
    [StringLength(1024, ErrorMessage = "Copyright too long!")]
    public string Copyright { get; set; }
    Property Value
    Type Description
    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
    DateTime
    Exceptions
    Type Condition
    ObjectDeletedException

    Thrown when this object has been deleted.

    Description

    Gets or sets the description of the tm.

    Declaration
    [StringLength(255, ErrorMessage = "Description too long!")]
    public string Description { get; set; }
    Property Value
    Type Description
    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
    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
    bool

    IsNewObject

    Returns

    true
    if this translation memory has not been saved yet.
    Declaration
    public bool IsNewObject { get; }
    Property Value
    Type Description
    bool

    Name

    Gets the user-friendly name of this provider. It is not necessarily unique across the system.

    Declaration
    [Required(ErrorMessage = "Required Field")]
    [StringLength(150, ErrorMessage = "Name too long!")]
    public string Name { get; set; }
    Property Value
    Type Description
    string
    Exceptions
    Type Condition
    ObjectDeletedException

    Thrown when this object has been deleted.

    Recognizers

    Gets or sets the recognizers which are enabled for this TM. Note that changing recognizers may require reindexing. In addition, in some cases duplicate TUs may be in the TM if recognizers are enabled which have been disabled before.

    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
    string property

    VerifyNotDeleted()

    Verifies that translation memory has not been deleted.

    Declaration
    protected void VerifyNotDeleted()

    Implements

    INotifyPropertyChanged
    IEditableObject
    In this article
    • Constructors
      • RemoteTranslationMemory(TranslationMemoryEntity)
    • Properties
      • BackupEntity
      • Copyright
      • CreationDate
      • Description
      • FuzzyIndexes
      • Id
      • IsDeleted
      • IsNewObject
      • Name
      • Recognizers
    • Methods
      • OnPropertyChanged(string)
      • VerifyNotDeleted()
    • Implements
    Back to top Generated by DocFX