2019-01-13 20:02:23 +00:00
|
|
|
using global::System;
|
2018-12-27 23:27:57 +00:00
|
|
|
|
|
|
|
namespace MediaBrowser.Model.Globalization
|
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// Class CultureDto
|
|
|
|
/// </summary>
|
|
|
|
public class CultureDto
|
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets the name.
|
|
|
|
/// </summary>
|
|
|
|
/// <value>The name.</value>
|
|
|
|
public string Name { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets the display name.
|
|
|
|
/// </summary>
|
|
|
|
/// <value>The display name.</value>
|
|
|
|
public string DisplayName { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets the name of the two letter ISO language.
|
|
|
|
/// </summary>
|
|
|
|
/// <value>The name of the two letter ISO language.</value>
|
|
|
|
public string TwoLetterISOLanguageName { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets the name of the three letter ISO language.
|
|
|
|
/// </summary>
|
|
|
|
/// <value>The name of the three letter ISO language.</value>
|
|
|
|
public string ThreeLetterISOLanguageName
|
|
|
|
{
|
|
|
|
get
|
|
|
|
{
|
|
|
|
var vals = ThreeLetterISOLanguageNames;
|
|
|
|
if (vals.Length > 0)
|
|
|
|
{
|
|
|
|
return vals[0];
|
|
|
|
}
|
|
|
|
return null;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
public string[] ThreeLetterISOLanguageNames { get; set; }
|
|
|
|
|
|
|
|
public CultureDto()
|
|
|
|
{
|
2018-12-27 21:43:48 +00:00
|
|
|
ThreeLetterISOLanguageNames = Array.Empty<string>();
|
2018-12-27 23:27:57 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|