Facebook
Twitter
Pinterest
Tumblr
GitHub
RSS
  • DEV Home
  • Documentation
  • Reference
  • Download
Search Results for

    Show / Hide Table of Contents

    Class CountryInfo

    Class CountryInfo

    Inheritance
    System.Object
    CountryInfo
    Implements
    System.IEquatable<CountryInfo>
    Namespace: MediaBrowser.Model.Globalization
    Assembly: MediaBrowser.Model.dll
    Syntax
    public class CountryInfo : IEquatable<CountryInfo>

    Constructors

    CountryInfo(String, String, String, String, String)

    Initializes a new instance of the CountryInfo class.

    Declaration
    public CountryInfo(string name, string englishName, string displayName, string twoLetterIsoRegionName, string threeLetterIsoRegionName)
    Parameters
    Type Name Description
    System.String name

    The name.

    System.String englishName

    Name of the english.

    System.String displayName

    The display name.

    System.String twoLetterIsoRegionName

    Name of the two letter iso region.

    System.String threeLetterIsoRegionName

    Name of the three letter iso region.

    Properties

    DisplayName

    Gets or sets the display name.

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

    The display name.

    EnglishName

    Gets or sets the English name.

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

    The English name.

    Name

    Gets or sets the name.

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

    The name.

    ThreeLetterISORegionName

    Gets or sets the name of the three letter ISO region.

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

    The name of the three letter ISO region.

    TwoLetterISORegionName

    Gets or sets the name of the two letter ISO region.

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

    The name of the two letter ISO region.

    Methods

    Equals(CountryInfo)

    Declaration
    public bool Equals(CountryInfo language)
    Parameters
    Type Name Description
    CountryInfo language
    Returns
    Type Description
    System.Boolean

    Equals(CountryInfo, CountryInfo)

    Declaration
    public static bool Equals(CountryInfo lang1, CountryInfo lang2)
    Parameters
    Type Name Description
    CountryInfo lang1
    CountryInfo lang2
    Returns
    Type Description
    System.Boolean

    GetHashCode()

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

    Implements

    System.IEquatable<T>

    Extension Methods

    Extensions.JsonClone<T>(T, IJsonSerializer)
    SDK
    On this Page
    Back to Top Copyright 2022 © EMBY LLC. Please see our terms of use and privacy policy.