mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-11-16 02:18:54 -07:00
9af6eda0b4
Add full stop at end of comments (SA1629)
48 lines
1.3 KiB
C#
48 lines
1.3 KiB
C#
using System.Collections.Generic;
|
|
using MediaBrowser.Controller.Entities;
|
|
using MediaBrowser.Controller.Library;
|
|
using MediaBrowser.Controller.Providers;
|
|
using MediaBrowser.Model.IO;
|
|
|
|
namespace MediaBrowser.Controller.Resolvers
|
|
{
|
|
/// <summary>
|
|
/// Interface IItemResolver.
|
|
/// </summary>
|
|
public interface IItemResolver
|
|
{
|
|
/// <summary>
|
|
/// Resolves the path.
|
|
/// </summary>
|
|
/// <param name="args">The args.</param>
|
|
/// <returns>BaseItem.</returns>
|
|
BaseItem ResolvePath(ItemResolveArgs args);
|
|
/// <summary>
|
|
/// Gets the priority.
|
|
/// </summary>
|
|
/// <value>The priority.</value>
|
|
ResolverPriority Priority { get; }
|
|
}
|
|
|
|
public interface IMultiItemResolver
|
|
{
|
|
MultiItemResolverResult ResolveMultiple(Folder parent,
|
|
List<FileSystemMetadata> files,
|
|
string collectionType,
|
|
IDirectoryService directoryService);
|
|
}
|
|
|
|
public class MultiItemResolverResult
|
|
{
|
|
public List<BaseItem> Items { get; set; }
|
|
|
|
public List<FileSystemMetadata> ExtraFiles { get; set; }
|
|
|
|
public MultiItemResolverResult()
|
|
{
|
|
Items = new List<BaseItem>();
|
|
ExtraFiles = new List<FileSystemMetadata>();
|
|
}
|
|
}
|
|
}
|