aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/Globalization
diff options
context:
space:
mode:
authorBond_009 <bond.009@outlook.com>2021-02-20 23:13:04 +0100
committerBond_009 <bond.009@outlook.com>2021-02-20 23:29:33 +0100
commit141efafd3dbbef3dc64824a89fd3fdc77da0b25e (patch)
tree7087b9d58c87a9feb347670cb9eb78957e35af02 /MediaBrowser.Model/Globalization
parent13d65318eb36f3fc423d8060e0092c8671579ed0 (diff)
Enable TreatWarningsAsErrors for MediaBrowser.Model
Diffstat (limited to 'MediaBrowser.Model/Globalization')
-rw-r--r--MediaBrowser.Model/Globalization/CultureDto.cs12
1 files changed, 6 insertions, 6 deletions
diff --git a/MediaBrowser.Model/Globalization/CultureDto.cs b/MediaBrowser.Model/Globalization/CultureDto.cs
index 6af4a872c..5246f87d9 100644
--- a/MediaBrowser.Model/Globalization/CultureDto.cs
+++ b/MediaBrowser.Model/Globalization/CultureDto.cs
@@ -10,6 +10,11 @@ namespace MediaBrowser.Model.Globalization
/// </summary>
public class CultureDto
{
+ public CultureDto()
+ {
+ ThreeLetterISOLanguageNames = Array.Empty<string>();
+ }
+
/// <summary>
/// Gets or sets the name.
/// </summary>
@@ -29,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
@@ -47,10 +52,5 @@ namespace MediaBrowser.Model.Globalization
}
public string[] ThreeLetterISOLanguageNames { get; set; }
-
- public CultureDto()
- {
- ThreeLetterISOLanguageNames = Array.Empty<string>();
- }
}
}