Search Results for

    Show / Hide Table of Contents

    Class LegacyLanguage

    Represents a language within a legacy translation memory. Provides a way to keep track of the original language code and name, as well as the associated CultureCode object.

    Inheritance
    object
    LegacyLanguage
    Inherited Members
    object.ToString()
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetType()
    object.MemberwiseClone()
    Namespace: Sdl.LanguagePlatform.TranslationMemoryApi.Upgrade
    Assembly: Sdl.LanguagePlatform.TranslationMemoryApi.dll
    Syntax
    public class LegacyLanguage

    Constructors

    LegacyLanguage()

    Initializes a new instance with default values.

    Declaration
    public LegacyLanguage()

    LegacyLanguage(CultureCode)

    Constructor with culture.

    Declaration
    public LegacyLanguage(CultureCode cultureCode)
    Parameters
    Type Name Description
    CultureCode cultureCode

    Properties

    Culture

    Gets or sets the CultureCode object that corresponds to this legacy language.

    Declaration
    public CultureCode Culture { get; set; }
    Property Value
    Type Description
    CultureCode

    NativeCode

    Gets or sets the native language code, as used by the legacy translation memory.

    Declaration
    public string NativeCode { get; set; }
    Property Value
    Type Description
    string

    NativeName

    Gets or sets the native language name, as used by the legacy translation memory.

    Declaration
    public string NativeName { get; set; }
    Property Value
    Type Description
    string

    Methods

    Equals(object)

    System.Object.Equals(object)

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    object obj

    The object to compare with the current object.

    Returns
    Type Description
    bool

    true if the specified object is equal to the current object; otherwise, false.

    Overrides
    object.Equals(object)

    GetHashCode()

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int

    A hash code for this object

    Overrides
    object.GetHashCode()
    In this article
    • Constructors
      • LegacyLanguage()
      • LegacyLanguage(CultureCode)
    • Properties
      • Culture
      • NativeCode
      • NativeName
    • Methods
      • Equals(object)
      • GetHashCode()
    Back to top Generated by DocFX