Class CultureDto
Inheritance
System.Object
CultureDto
Assembly: MediaBrowser.Model.dll
public class CultureDto : IEquatable<CultureDto>
Properties
Gets or sets the display name.
Declaration
public string DisplayName { get; set; }
Property Value
Type |
Description |
System.String |
The display name.
|
Declaration
public string Name { get; set; }
Property Value
Type |
Description |
System.String |
The name.
|
Gets or sets the name of the three letter ISO language.
Declaration
public string ThreeLetterISOLanguageName { get; }
Property Value
Type |
Description |
System.String |
The name of the three letter ISO language.
|
Declaration
public string[] ThreeLetterISOLanguageNames { get; set; }
Property Value
Type |
Description |
System.String[] |
|
Gets or sets the name of the two letter ISO language.
Declaration
public string TwoLetterISOLanguageName { get; }
Property Value
Type |
Description |
System.String |
The name of the two letter ISO language.
|
Declaration
public string[] TwoLetterISOLanguageNames { get; set; }
Property Value
Type |
Description |
System.String[] |
|
Methods
Declaration
public bool ContainsLanguage(ReadOnlySpan<char> language)
Parameters
Type |
Name |
Description |
System.ReadOnlySpan<System.Char> |
language |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public bool ContainsLanguage(string language)
Parameters
Type |
Name |
Description |
System.String |
language |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public bool Equals(CultureDto language)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static bool Equals(CultureDto lang1, CultureDto lang2)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Overrides
System.Object.GetHashCode()
Implements
System.IEquatable<T>
Extension Methods