2019-01-13 20:01:16 +00:00
|
|
|
using System;
|
2018-12-27 23:27:57 +00:00
|
|
|
using System.IO;
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
using MediaBrowser.Model.Services;
|
|
|
|
|
|
|
|
namespace MediaBrowser.Controller
|
|
|
|
{
|
|
|
|
public interface IResourceFileManager
|
|
|
|
{
|
|
|
|
Task<object> GetStaticFileResult(IRequest request, string basePath, string virtualPath, string contentType, TimeSpan? cacheDuration);
|
|
|
|
|
|
|
|
Stream GetResourceFileStream(string basePath, string virtualPath);
|
|
|
|
|
|
|
|
string ReadAllText(string basePath, string virtualPath);
|
|
|
|
}
|
|
|
|
}
|