mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-31 21:08:27 +01:00
Enable TreatWarningsAsErrors for MediaBrowser.Model
This commit is contained in:
26
MediaBrowser.Model/Querying/QueryFiltersLegacy.cs
Normal file
26
MediaBrowser.Model/Querying/QueryFiltersLegacy.cs
Normal file
@@ -0,0 +1,26 @@
|
||||
#nullable disable
|
||||
#pragma warning disable CS1591
|
||||
|
||||
using System;
|
||||
|
||||
namespace MediaBrowser.Model.Querying
|
||||
{
|
||||
public class QueryFiltersLegacy
|
||||
{
|
||||
public QueryFiltersLegacy()
|
||||
{
|
||||
Genres = Array.Empty<string>();
|
||||
Tags = Array.Empty<string>();
|
||||
OfficialRatings = Array.Empty<string>();
|
||||
Years = Array.Empty<int>();
|
||||
}
|
||||
|
||||
public string[] Genres { get; set; }
|
||||
|
||||
public string[] Tags { get; set; }
|
||||
|
||||
public string[] OfficialRatings { get; set; }
|
||||
|
||||
public int[] Years { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user