private ItemList <FileOperationResult> QueueTask(FileOperation op)
 {
     tasks.QueueTask(op.RunJob, op.GetDistributedTask());
     return(GetOperationResults());
 }
 public FileMarkAsReadOperation(IServiceProvider serviceProvider, FileOperation <FileMarkAsReadOperationData <string>, string> f1, FileOperation <FileMarkAsReadOperationData <int>, int> f2)
     : base(serviceProvider, f1, f2)
 {
 }
Exemple #3
0
 private ItemList <FileOperationResult> QueueTask <T>(AuthContext authContext, FileOperation <T> op) where T : FileOperationData
 {
     tasks.QueueTask(op.RunJob, op.GetDistributedTask());
     return(GetOperationResults(authContext));
 }
Exemple #4
0
 public FileMoveCopyOperation(IServiceProvider serviceProvider,
                              FileOperation <FileMoveCopyOperationData <string>, string> thirdPartyOperation,
                              FileOperation <FileMoveCopyOperationData <int>, int> daoOperation)
     : base(serviceProvider, thirdPartyOperation, daoOperation)
 {
 }
 private ItemList<FileOperationResult> QueueTask(AuthContext authContext, FileOperation op)
 {
     tasks.QueueTask(op.RunJob, op.GetDistributedTask());
     return GetOperationResults(authContext);
 }
Exemple #6
0
 public FileDownloadOperation(IServiceProvider serviceProvider, TempStream tempStream, FileOperation <FileDownloadOperationData <string>, string> f1, FileOperation <FileDownloadOperationData <int>, int> f2)
     : base(serviceProvider, f1, f2)
 {
     TempStream = tempStream;
 }
Exemple #7
0
 private List <FileOperationResult> QueueTask <T, TId>(Guid userId, FileOperation <T, TId> op) where T : FileOperationData <TId>
 {
     tasks.QueueTask(op.RunJob, op.GetDistributedTask());
     return(GetOperationResults(userId));
 }
Exemple #8
0
 private List <FileOperationResult> QueueTask(Guid userId, FileOperation op)
 {
     tasks.QueueTask(op.RunJob, op.GetDistributedTask());
     return(GetOperationResults(userId));
 }