mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-11-17 10:58:58 -07:00
27 lines
637 B
C#
27 lines
637 B
C#
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.Linq;
|
|||
|
using System.Text;
|
|||
|
using System.Threading.Tasks;
|
|||
|
using MediaBrowser.Common;
|
|||
|
|
|||
|
namespace MediaBrowser.Controller.Providers
|
|||
|
{
|
|||
|
public interface ISeriesOrderProvider
|
|||
|
{
|
|||
|
string OrderType { get; }
|
|||
|
Task<int?> FindSeriesIndex(string seriesName);
|
|||
|
}
|
|||
|
|
|||
|
public static class SeriesOrderTypes
|
|||
|
{
|
|||
|
public const string Anime = "Anime";
|
|||
|
}
|
|||
|
|
|||
|
public interface ISeriesOrderManager
|
|||
|
{
|
|||
|
Task<int?> FindSeriesIndex(string orderType, string seriesName);
|
|||
|
void AddParts(IEnumerable<ISeriesOrderProvider> orderProviders);
|
|||
|
}
|
|||
|
}
|