Example #1
0
 public FileOperationsManagerHelper(
     FileOperationsManager fileOperationsManager,
     AuthContext authContext,
     TenantManager tenantManager)
 {
     FileOperationsManager = fileOperationsManager;
     AuthContext           = authContext;
     TenantManager         = tenantManager;
 }
Example #2
0
 public ItemList <FileOperationResult> Delete(List <object> folders, List <object> files, bool ignoreException, bool holdResult, bool immediately, Dictionary <string, string> headers)
 => FileOperationsManager.Delete(AuthContext, TenantManager, folders, files, ignoreException, holdResult, immediately, headers);
Example #3
0
 public ItemList <FileOperationResult> MoveOrCopy(List <object> folders, List <object> files, string destFolderId, bool copy, FileConflictResolveType resolveType, bool holdResult, Dictionary <string, string> headers)
 => FileOperationsManager.MoveOrCopy(AuthContext, TenantManager, folders, files, destFolderId, copy, resolveType, holdResult, headers);
Example #4
0
 public ItemList <FileOperationResult> Download(Dictionary <object, string> folders, Dictionary <object, string> files, Dictionary <string, string> headers)
 => FileOperationsManager.Download(AuthContext, TenantManager, folders, files, headers);
Example #5
0
 public ItemList <FileOperationResult> MarkAsRead(List <object> folderIds, List <object> fileIds)
 => FileOperationsManager.MarkAsRead(AuthContext, TenantManager, folderIds, fileIds);
Example #6
0
 public ItemList <FileOperationResult> CancelOperations() => FileOperationsManager.CancelOperations(AuthContext);
Example #7
0
 public ItemList <FileOperationResult> GetOperationResults() => FileOperationsManager.GetOperationResults(AuthContext);
Example #8
0
 public ItemList <FileOperationResult> Delete <T>(List <T> folders, List <T> files, bool ignoreException, bool holdResult, bool immediately, IDictionary <string, StringValues> headers)
 {
     return(FileOperationsManager.Delete(AuthContext, TenantManager, folders, files, ignoreException, holdResult, immediately, headers));
 }
Example #9
0
 public ItemList <FileOperationResult> MoveOrCopy(IEnumerable <JsonElement> folders, IEnumerable <JsonElement> files, JsonElement destFolderId, bool copy, FileConflictResolveType resolveType, bool holdResult, IDictionary <string, StringValues> headers)
 {
     return(FileOperationsManager.MoveOrCopy(AuthContext, TenantManager, folders, files, destFolderId, copy, resolveType, holdResult, headers));
 }
Example #10
0
 public ItemList <FileOperationResult> Download(Dictionary <JsonElement, string> folders, Dictionary <JsonElement, string> files, IDictionary <string, StringValues> headers)
 {
     return(FileOperationsManager.Download(AuthContext, TenantManager, folders, files, headers));
 }
Example #11
0
 public ItemList <FileOperationResult> MarkAsRead(IEnumerable <JsonElement> folderIds, IEnumerable <JsonElement> fileIds)
 {
     return(FileOperationsManager.MarkAsRead(AuthContext, TenantManager, folderIds, fileIds));
 }
Example #12
0
 public ItemList <FileOperationResult> CancelOperations()
 {
     return(FileOperationsManager.CancelOperations(AuthContext));
 }
Example #13
0
 public ItemList <FileOperationResult> GetOperationResults()
 {
     return(FileOperationsManager.GetOperationResults(AuthContext));
 }