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