diff options
| author | Bond_009 <bond.009@outlook.com> | 2021-02-20 23:13:04 +0100 |
|---|---|---|
| committer | Bond_009 <bond.009@outlook.com> | 2021-02-20 23:29:33 +0100 |
| commit | 141efafd3dbbef3dc64824a89fd3fdc77da0b25e (patch) | |
| tree | 7087b9d58c87a9feb347670cb9eb78957e35af02 /MediaBrowser.Model/Dto/MetadataEditorInfo.cs | |
| parent | 13d65318eb36f3fc423d8060e0092c8671579ed0 (diff) | |
Enable TreatWarningsAsErrors for MediaBrowser.Model
Diffstat (limited to 'MediaBrowser.Model/Dto/MetadataEditorInfo.cs')
| -rw-r--r-- | MediaBrowser.Model/Dto/MetadataEditorInfo.cs | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/MediaBrowser.Model/Dto/MetadataEditorInfo.cs b/MediaBrowser.Model/Dto/MetadataEditorInfo.cs index e4f38d6af..e0e889f7d 100644 --- a/MediaBrowser.Model/Dto/MetadataEditorInfo.cs +++ b/MediaBrowser.Model/Dto/MetadataEditorInfo.cs @@ -10,6 +10,15 @@ namespace MediaBrowser.Model.Dto { public class MetadataEditorInfo { + public MetadataEditorInfo() + { + ParentalRatingOptions = Array.Empty<ParentalRating>(); + Countries = Array.Empty<CountryInfo>(); + Cultures = Array.Empty<CultureDto>(); + ExternalIdInfos = Array.Empty<ExternalIdInfo>(); + ContentTypeOptions = Array.Empty<NameValuePair>(); + } + public ParentalRating[] ParentalRatingOptions { get; set; } public CountryInfo[] Countries { get; set; } @@ -21,14 +30,5 @@ namespace MediaBrowser.Model.Dto public string ContentType { get; set; } public NameValuePair[] ContentTypeOptions { get; set; } - - public MetadataEditorInfo() - { - ParentalRatingOptions = Array.Empty<ParentalRating>(); - Countries = Array.Empty<CountryInfo>(); - Cultures = Array.Empty<CultureDto>(); - ExternalIdInfos = Array.Empty<ExternalIdInfo>(); - ContentTypeOptions = Array.Empty<NameValuePair>(); - } } } |
