void IJobProcessor.setup(Job job, StatusUpdate su) { CleanupJob j = (CleanupJob)job; this.su = su; this.files = j.files; }
public static JobChain AddAfter(JobChain other, string type, List<string> files) { CleanupJob j = new CleanupJob(); j.files = files; j.type = type; return new SequentialChain(other, j); }
public static JobChain AddAfter(JobChain other, string type, List <string> files) { CleanupJob j = new CleanupJob(); j.files = files; j.type = type; return(new SequentialChain(other, j)); }
public static JobChain AddAfter(JobChain other, List <string> files, string strInput) { CleanupJob j = new CleanupJob(); j.FilesToDelete.AddRange(files); j.Input = strInput; return(new SequentialChain(other, j)); }
void IJobProcessor.setup(Job job, StatusUpdate su, LogItem log) { CleanupJob j = (CleanupJob)job; this.log = log; this.su = su; this.files = j.files; }
public static JobChain AddAfter(JobChain other, List <string> files, string strInput) { CleanupJob j = new CleanupJob(); j.files = files; j.Input = strInput; return(new SequentialChain(other, j)); }