コード例 #1
0
ファイル: DeleteJob.cs プロジェクト: dburian/FileManager
 public DeleteJob(DeleteJobArguments args, OnProgressChangeDelegate onProgressChange, CancellationToken ct)
     : this(args, ct)
 {
     ProgressChange += onProgressChange;
 }
コード例 #2
0
 public static string CreateMessage(DeleteJobArguments jobArgs, Exception innerException)
 {
     return($"A {innerException.GetType()} has been raised when deleting file {jobArgs.Target.FullName}");
 }
コード例 #3
0
ファイル: DeleteJob.cs プロジェクト: dburian/FileManager
 public DeleteJob(DeleteJobArguments args, CancellationToken ct)
 {
     Args    = args;
     this.ct = ct;
 }
コード例 #4
0
 public DeleteException(DeleteJobArguments jobArgs, Exception innerException)
     : base(CreateMessage(jobArgs, innerException), innerException)
 {
     JobArgs = jobArgs;
 }