aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/Channels/ChannelFeatures.cs
diff options
context:
space:
mode:
authorJoshua M. Boniface <joshua@boniface.me>2021-02-22 21:00:46 -0500
committerGitHub <noreply@github.com>2021-02-22 21:00:46 -0500
commit7ece3c552337340a997a75aab1520a501a673f61 (patch)
tree4bb865830c06de487d65706959b5df2b47fc14e1 /MediaBrowser.Model/Channels/ChannelFeatures.cs
parentc0c4aff8a642013ec406c065c8374aaad8b4ef65 (diff)
parent003945f25b8d19de4638789bf0cdf580c546c9dd (diff)
Merge pull request #5273 from Bond-009/warn31
Diffstat (limited to 'MediaBrowser.Model/Channels/ChannelFeatures.cs')
-rw-r--r--MediaBrowser.Model/Channels/ChannelFeatures.cs18
1 files changed, 9 insertions, 9 deletions
diff --git a/MediaBrowser.Model/Channels/ChannelFeatures.cs b/MediaBrowser.Model/Channels/ChannelFeatures.cs
index a55754edd..d925b78b6 100644
--- a/MediaBrowser.Model/Channels/ChannelFeatures.cs
+++ b/MediaBrowser.Model/Channels/ChannelFeatures.cs
@@ -7,6 +7,13 @@ namespace MediaBrowser.Model.Channels
{
public class ChannelFeatures
{
+ public ChannelFeatures()
+ {
+ MediaTypes = Array.Empty<ChannelMediaType>();
+ ContentTypes = Array.Empty<ChannelMediaContentType>();
+ DefaultSortFields = Array.Empty<ChannelItemSortField>();
+ }
+
/// <summary>
/// Gets or sets the name.
/// </summary>
@@ -38,7 +45,7 @@ namespace MediaBrowser.Model.Channels
public ChannelMediaContentType[] ContentTypes { get; set; }
/// <summary>
- /// Represents the maximum number of records the channel allows retrieving at a time.
+ /// Gets or sets the maximum number of records the channel allows retrieving at a time.
/// </summary>
public int? MaxPageSize { get; set; }
@@ -55,7 +62,7 @@ namespace MediaBrowser.Model.Channels
public ChannelItemSortField[] DefaultSortFields { get; set; }
/// <summary>
- /// Indicates if a sort ascending/descending toggle is supported or not.
+ /// Gets or sets a value indicating whether a sort ascending/descending toggle is supported.
/// </summary>
public bool SupportsSortOrderToggle { get; set; }
@@ -76,12 +83,5 @@ namespace MediaBrowser.Model.Channels
/// </summary>
/// <value><c>true</c> if [supports content downloading]; otherwise, <c>false</c>.</value>
public bool SupportsContentDownloading { get; set; }
-
- public ChannelFeatures()
- {
- MediaTypes = Array.Empty<ChannelMediaType>();
- ContentTypes = Array.Empty<ChannelMediaContentType>();
- DefaultSortFields = Array.Empty<ChannelItemSortField>();
- }
}
}