public DeleteJob(DeleteJobArguments args, OnProgressChangeDelegate onProgressChange, CancellationToken ct) : this(args, ct) { ProgressChange += onProgressChange; }
public static string CreateMessage(DeleteJobArguments jobArgs, Exception innerException) { return($"A {innerException.GetType()} has been raised when deleting file {jobArgs.Target.FullName}"); }
public DeleteJob(DeleteJobArguments args, CancellationToken ct) { Args = args; this.ct = ct; }
public DeleteException(DeleteJobArguments jobArgs, Exception innerException) : base(CreateMessage(jobArgs, innerException), innerException) { JobArgs = jobArgs; }