diff options
| author | Joshua M. Boniface <joshua@boniface.me> | 2020-08-22 23:50:43 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-08-22 23:50:43 -0400 |
| commit | 3a99a4770c86d6815267857558968ef5c1fa73f4 (patch) | |
| tree | 33bf04f0792982f0300d0f972185b0bfff310e15 /MediaBrowser.Controller/Channels/InternalChannelFeatures.cs | |
| parent | e88b7b8d0e08694a4cc939b8632cc077dc51c7ca (diff) | |
| parent | c4d8275fc1ad29823788043750e2f3f8e8b8244e (diff) | |
Merge pull request #3958 from Bond-009/warn26
Enable TreatWarningsAsErrors for MediaBrowser.Controller in Release
Diffstat (limited to 'MediaBrowser.Controller/Channels/InternalChannelFeatures.cs')
| -rw-r--r-- | MediaBrowser.Controller/Channels/InternalChannelFeatures.cs | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/MediaBrowser.Controller/Channels/InternalChannelFeatures.cs b/MediaBrowser.Controller/Channels/InternalChannelFeatures.cs index 1f4a26064..1074ce435 100644 --- a/MediaBrowser.Controller/Channels/InternalChannelFeatures.cs +++ b/MediaBrowser.Controller/Channels/InternalChannelFeatures.cs @@ -1,3 +1,5 @@ +#pragma warning disable CS1591 + using System.Collections.Generic; using MediaBrowser.Model.Channels; @@ -5,6 +7,14 @@ namespace MediaBrowser.Controller.Channels { public class InternalChannelFeatures { + public InternalChannelFeatures() + { + MediaTypes = new List<ChannelMediaType>(); + ContentTypes = new List<ChannelMediaContentType>(); + + DefaultSortFields = new List<ChannelItemSortField>(); + } + /// <summary> /// Gets or sets the media types. /// </summary> @@ -48,13 +58,5 @@ namespace MediaBrowser.Controller.Channels /// </summary> /// <value><c>true</c> if [supports downloading]; otherwise, <c>false</c>.</value> public bool SupportsContentDownloading { get; set; } - - public InternalChannelFeatures() - { - MediaTypes = new List<ChannelMediaType>(); - ContentTypes = new List<ChannelMediaContentType>(); - - DefaultSortFields = new List<ChannelItemSortField>(); - } } } |
