Interface IResourceFileManager
Namespace: MediaBrowser.Controller
Assembly: MediaBrowser.Controller.dll
Syntax
public interface IResourceFileManager
Methods
GetResourceFileStream(String, String, Int64)
Declaration
StreamHandler GetResourceFileStream(string basePath, string virtualPath, long offset)
Parameters
Type | Name | Description |
---|---|---|
System.String | basePath | |
System.String | virtualPath | |
System.Int64 | offset |
Returns
Type | Description |
---|---|
StreamHandler |
GetStaticFileResult(IRequest, String, String, String, String, Guid, Nullable<TimeSpan>)
Declaration
Task<object> GetStaticFileResult(IRequest request, string basePath, string virtualPath, string contentType, string contentEncoding, Guid cacheKey, TimeSpan? cacheDuration)
Parameters
Type | Name | Description |
---|---|---|
IRequest | request | |
System.String | basePath | |
System.String | virtualPath | |
System.String | contentType | |
System.String | contentEncoding | |
System.Guid | cacheKey | |
System.Nullable<System.TimeSpan> | cacheDuration |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<System.Object> |