mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-23 17:24:46 +03:00
Enable TreatWarningsAsErrors for MediaBrowser.Model
This commit is contained in:
@@ -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>();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user