Update for Better Supports ...
This commit is contained in:
@@ -22,18 +22,12 @@ namespace xFileService.Interfaces
|
||||
/// <summary>
|
||||
/// Specified Provider ...
|
||||
/// </summary>
|
||||
string ProvideFor { get; }
|
||||
string ProvidedFor { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Specified Provider Repositroy ...
|
||||
/// </summary>
|
||||
IXFileProvider Provider { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Tag Provider for Specified File ...
|
||||
/// </summary>
|
||||
/// <value></value>
|
||||
IXBaseTagProvider<TKey> TagProvider { get; }
|
||||
#endregion
|
||||
|
||||
//
|
||||
@@ -47,7 +41,7 @@ namespace xFileService.Interfaces
|
||||
#endregion
|
||||
|
||||
//
|
||||
#region Implementation ...
|
||||
#region Tools ...
|
||||
/// <summary>
|
||||
/// Stream Specified File ...
|
||||
/// </summary>
|
||||
@@ -60,7 +54,7 @@ namespace xFileService.Interfaces
|
||||
/// </summary>
|
||||
/// <param name="fileName"></param>
|
||||
/// <returns></returns>
|
||||
Task<FileStreamResult> Stream(string fileName);
|
||||
Task<FileStreamResult> Stream(string fileName);
|
||||
|
||||
|
||||
/// <summary>
|
||||
@@ -80,10 +74,12 @@ namespace xFileService.Interfaces
|
||||
/// <summary>
|
||||
/// Upload Files ...
|
||||
/// </summary>
|
||||
/// <param name="forProvidedId"></param>
|
||||
/// <param name="files"></param>
|
||||
/// <param name="userInfo"></param>
|
||||
/// <returns></returns>
|
||||
Task<IEnumerable<XFileDto>> Upload(
|
||||
TKey forProvidedId,
|
||||
IFormFileCollection files,
|
||||
XUserClaimsInfoDto userInfo = null
|
||||
);
|
||||
@@ -91,10 +87,12 @@ namespace xFileService.Interfaces
|
||||
/// <summary>
|
||||
/// Remove Specified Files ...
|
||||
/// </summary>
|
||||
/// <param name="forProvidedId"></param>
|
||||
/// <param name="ids"></param>
|
||||
/// <param name="userInfo"></param>
|
||||
/// <returns></returns>
|
||||
Task<IEnumerable<Guid>> Remove(
|
||||
TKey forProvidedId,
|
||||
string ids,
|
||||
XUserClaimsInfoDto userInfo = null
|
||||
);
|
||||
@@ -120,7 +118,6 @@ namespace xFileService.Interfaces
|
||||
/// Get Specified File Model ...
|
||||
/// </summary>
|
||||
/// <param name="id"></param>
|
||||
/// <param name="ignoreSoftDeleteds"></param>
|
||||
/// <returns></returns>
|
||||
Task<XFileDto> Get(
|
||||
Guid id
|
||||
@@ -133,6 +130,13 @@ namespace xFileService.Interfaces
|
||||
/// <returns></returns>
|
||||
Task<IEnumerable<XFileDto>> GetAll();
|
||||
|
||||
/// <summary>
|
||||
/// Get All Exists File Models ...
|
||||
/// </summary>
|
||||
/// <param name="forProvidedId"></param>
|
||||
/// <returns></returns>
|
||||
Task<IEnumerable<XFileDto>> GetAllFor(TKey forProvidedId);
|
||||
|
||||
/// <summary>
|
||||
/// find an Entity by providing a Conditional Expression ...
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user