aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/Globalization/CultureDto.cs
diff options
context:
space:
mode:
Diffstat (limited to 'MediaBrowser.Model/Globalization/CultureDto.cs')
-rw-r--r--MediaBrowser.Model/Globalization/CultureDto.cs20
1 files changed, 12 insertions, 8 deletions
diff --git a/MediaBrowser.Model/Globalization/CultureDto.cs b/MediaBrowser.Model/Globalization/CultureDto.cs
index f229f20553..5246f87d92 100644
--- a/MediaBrowser.Model/Globalization/CultureDto.cs
+++ b/MediaBrowser.Model/Globalization/CultureDto.cs
@@ -1,12 +1,20 @@
-using global::System;
+#nullable disable
+#pragma warning disable CS1591
+
+using System;
namespace MediaBrowser.Model.Globalization
{
/// <summary>
- /// Class CultureDto
+ /// Class CultureDto.
/// </summary>
public class CultureDto
{
+ public CultureDto()
+ {
+ ThreeLetterISOLanguageNames = Array.Empty<string>();
+ }
+
/// <summary>
/// Gets or sets the name.
/// </summary>
@@ -26,7 +34,7 @@ namespace MediaBrowser.Model.Globalization
public string TwoLetterISOLanguageName { get; set; }
/// <summary>
- /// Gets or sets the name of the three letter ISO language.
+ /// Gets the name of the three letter ISO language.
/// </summary>
/// <value>The name of the three letter ISO language.</value>
public string ThreeLetterISOLanguageName
@@ -38,15 +46,11 @@ namespace MediaBrowser.Model.Globalization
{
return vals[0];
}
+
return null;
}
}
public string[] ThreeLetterISOLanguageNames { get; set; }
-
- public CultureDto()
- {
- ThreeLetterISOLanguageNames = Array.Empty<string>();
- }
}
}