public Job(ISong song, IDownloadJob downloadJob, IEnumerable <SongTarget> targets, JobFinishedAsyncCallback jobFinishedAsyncCallback, IProgress <JobProgress> progress) : this(song, downloadJob, targets, progress) { JobFinishedAsyncCallback = jobFinishedAsyncCallback; }
public void SetJobFinishedCallback(JobFinishedAsyncCallback jobFinishedAsyncCallback) { JobFinishedAsyncCallback = jobFinishedAsyncCallback; JobFinishedCallback = null; }
public IJobBuilder SetDefaultJobFinishedAsyncCallback(JobFinishedAsyncCallback jobFinishedCallback) { _finishedCallback = jobFinishedCallback; return(this); }