From 48facb797ed912e4ea6b04b17d1ff190ac2daac4 Mon Sep 17 00:00:00 2001 From: stefan Date: Wed, 12 Sep 2018 19:26:21 +0200 Subject: Update to 3.5.2 and .net core 2.1 --- MediaBrowser.Controller/Entities/IHasTrailers.cs | 38 ------------------------ 1 file changed, 38 deletions(-) delete mode 100644 MediaBrowser.Controller/Entities/IHasTrailers.cs (limited to 'MediaBrowser.Controller/Entities/IHasTrailers.cs') diff --git a/MediaBrowser.Controller/Entities/IHasTrailers.cs b/MediaBrowser.Controller/Entities/IHasTrailers.cs deleted file mode 100644 index 07dde3789..000000000 --- a/MediaBrowser.Controller/Entities/IHasTrailers.cs +++ /dev/null @@ -1,38 +0,0 @@ -using MediaBrowser.Model.Entities; -using System; -using System.Collections.Generic; -using System.Linq; - -namespace MediaBrowser.Controller.Entities -{ - public interface IHasTrailers : IHasMetadata - { - /// - /// Gets or sets the remote trailers. - /// - /// The remote trailers. - MediaUrl[] RemoteTrailers { get; set; } - - /// - /// Gets or sets the local trailer ids. - /// - /// The local trailer ids. - Guid[] LocalTrailerIds { get; set; } - Guid[] RemoteTrailerIds { get; set; } - } - - public static class HasTrailerExtensions - { - /// - /// Gets the trailer ids. - /// - /// List<Guid>. - public static List GetTrailerIds(this IHasTrailers item) - { - var list = item.LocalTrailerIds.ToList(); - list.AddRange(item.RemoteTrailerIds); - return list; - } - - } -} -- cgit v1.2.3