Search Results for

    Show / Hide Table of Contents

    Class LanguagePair

    Inheritance
    System.Object
    LanguagePair
    Implements
    System.IComparable<LanguagePair>
    Inherited Members
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Sdl.LanguagePlatform.Core
    Assembly: Sdl.LanguagePlatform.Core.dll
    Syntax
    public class LanguagePair : IComparable<LanguagePair>

    Constructors

    LanguagePair()

    Declaration
    public LanguagePair()

    LanguagePair(CultureInfo, CultureInfo)

    Declaration
    public LanguagePair(CultureInfo srcCulture, CultureInfo trgCulture)
    Parameters
    Type Name Description
    System.Globalization.CultureInfo srcCulture
    System.Globalization.CultureInfo trgCulture

    LanguagePair(String, String)

    Declaration
    public LanguagePair(string srcCultureName, string trgCultureName)
    Parameters
    Type Name Description
    System.String srcCultureName
    System.String trgCultureName

    Properties

    SourceCulture

    Declaration
    public CultureInfo SourceCulture { get; set; }
    Property Value
    Type Description
    System.Globalization.CultureInfo

    SourceCultureName

    Declaration
    public string SourceCultureName { get; set; }
    Property Value
    Type Description
    System.String

    TargetCulture

    Declaration
    public CultureInfo TargetCulture { get; set; }
    Property Value
    Type Description
    System.Globalization.CultureInfo

    TargetCultureName

    Declaration
    public string TargetCultureName { get; set; }
    Property Value
    Type Description
    System.String

    Methods

    CompareTo(LanguagePair)

    Declaration
    public int CompareTo(LanguagePair other)
    Parameters
    Type Name Description
    LanguagePair other
    Returns
    Type Description
    System.Int32

    Equals(Object)

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    System.Object obj
    Returns
    Type Description
    System.Boolean
    Overrides
    System.Object.Equals(System.Object)

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    System.Int32
    Overrides
    System.Object.GetHashCode()

    IsCompatible(LanguagePair)

    Declaration
    public bool IsCompatible(LanguagePair other)
    Parameters
    Type Name Description
    LanguagePair other
    Returns
    Type Description
    System.Boolean

    Reverse()

    Declaration
    public LanguagePair Reverse()
    Returns
    Type Description
    LanguagePair

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String
    Overrides
    System.Object.ToString()

    TryParse(String, out LanguagePair)

    Declaration
    public static bool TryParse(string s, out LanguagePair lp)
    Parameters
    Type Name Description
    System.String s
    LanguagePair lp
    Returns
    Type Description
    System.Boolean

    Implements

    System.IComparable<T>

    On this page

    • Constructors
      • LanguagePair()
      • LanguagePair(CultureInfo, CultureInfo)
      • LanguagePair(String, String)
    • Properties
      • SourceCulture
      • SourceCultureName
      • TargetCulture
      • TargetCultureName
    • Methods
      • CompareTo(LanguagePair)
      • Equals(Object)
      • GetHashCode()
      • IsCompatible(LanguagePair)
      • Reverse()
      • ToString()
      • TryParse(String, out LanguagePair)
    • Implements
    Back to top Generated by DocFX