diff options
| author | Claus Vium <cvium@users.noreply.github.com> | 2021-08-30 20:02:31 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-08-30 20:02:31 +0200 |
| commit | ae031fdd28cac50a50e6713d64fa92ddd496aaf2 (patch) | |
| tree | b14410bc8873ec1c532ad2bab31ec1a65c29afa8 /MediaBrowser.Controller/Channels | |
| parent | a84dc794c6960a8a6e1dc0660e15a030e0f51305 (diff) | |
| parent | 442e756395c69cf001e2bafa6512e82a79d04c6b (diff) | |
Merge branch 'master' into tonemap-overlay
Diffstat (limited to 'MediaBrowser.Controller/Channels')
| -rw-r--r-- | MediaBrowser.Controller/Channels/ChannelItemResult.cs | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/MediaBrowser.Controller/Channels/ChannelItemResult.cs b/MediaBrowser.Controller/Channels/ChannelItemResult.cs index 7a0addd9f..ca7721991 100644 --- a/MediaBrowser.Controller/Channels/ChannelItemResult.cs +++ b/MediaBrowser.Controller/Channels/ChannelItemResult.cs @@ -1,7 +1,6 @@ -#nullable disable - -#pragma warning disable CA1002, CA2227, CS1591 +#pragma warning disable CS1591 +using System; using System.Collections.Generic; namespace MediaBrowser.Controller.Channels @@ -10,10 +9,10 @@ namespace MediaBrowser.Controller.Channels { public ChannelItemResult() { - Items = new List<ChannelItemInfo>(); + Items = Array.Empty<ChannelItemInfo>(); } - public List<ChannelItemInfo> Items { get; set; } + public IReadOnlyList<ChannelItemInfo> Items { get; set; } public int? TotalRecordCount { get; set; } } |
