aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/Querying/NextUpQuery.cs
diff options
context:
space:
mode:
authordkanada <dkanada@users.noreply.github.com>2020-02-07 23:45:21 +0900
committerGitHub <noreply@github.com>2020-02-07 23:45:21 +0900
commit75d6545145eee8112f03f82ebb4d8c1b414aa192 (patch)
tree4a82bcdb8ace617b8d0feba19aec8a9f2a629c5b /MediaBrowser.Model/Querying/NextUpQuery.cs
parent1ae9ed6e2aefb323f9959f9ed7a0c7950dd630c6 (diff)
parentf47ad85011a1251c3fda8a213c0b96dcf46d5e05 (diff)
Merge pull request #2373 from Bond-009/warn14
Fix some warnings in MediaBrowser.Model
Diffstat (limited to 'MediaBrowser.Model/Querying/NextUpQuery.cs')
-rw-r--r--MediaBrowser.Model/Querying/NextUpQuery.cs8
1 files changed, 7 insertions, 1 deletions
diff --git a/MediaBrowser.Model/Querying/NextUpQuery.cs b/MediaBrowser.Model/Querying/NextUpQuery.cs
index ff146cede..14b10f4ce 100644
--- a/MediaBrowser.Model/Querying/NextUpQuery.cs
+++ b/MediaBrowser.Model/Querying/NextUpQuery.cs
@@ -1,3 +1,6 @@
+#pragma warning disable CS1591
+#pragma warning disable SA1600
+
using System;
using MediaBrowser.Model.Entities;
@@ -40,16 +43,19 @@ namespace MediaBrowser.Model.Querying
/// </summary>
/// <value>The fields.</value>
public ItemFields[] Fields { get; set; }
+
/// <summary>
/// Gets or sets a value indicating whether [enable images].
/// </summary>
/// <value><c>null</c> if [enable images] contains no value, <c>true</c> if [enable images]; otherwise, <c>false</c>.</value>
public bool? EnableImages { get; set; }
+
/// <summary>
/// Gets or sets the image type limit.
/// </summary>
/// <value>The image type limit.</value>
public int? ImageTypeLimit { get; set; }
+
/// <summary>
/// Gets or sets the enable image types.
/// </summary>
@@ -60,7 +66,7 @@ namespace MediaBrowser.Model.Querying
public NextUpQuery()
{
- EnableImageTypes = new ImageType[] { };
+ EnableImageTypes = Array.Empty<ImageType>();
EnableTotalRecordCount = true;
}
}