You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
jellyfin/MediaBrowser.Model/Globalization/CultureDto.cs

57 lines
1.4 KiB

#nullable disable
#pragma warning disable CS1591
using System;
6 years ago
namespace MediaBrowser.Model.Globalization
{
/// <summary>
/// Class CultureDto.
6 years ago
/// </summary>
public class CultureDto
{
public CultureDto()
{
ThreeLetterISOLanguageNames = Array.Empty<string>();
}
6 years ago
/// <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 the name of the three letter ISO language.
6 years ago
/// </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];
}
6 years ago
return null;
}
}
public string[] ThreeLetterISOLanguageNames { get; set; }
}
}