public ImmediateTaskResult(BaseTaskResult owner, IThreadPool threadpool, IThreadPoolResult result) : base(threadpool, result) { owner.OnResult(value => { this.Result = value; }); }
public PriorityTaskResult(BaseTaskResult owner, IThreadPool threadpool, IThreadPoolResult result, int priority) : base(threadpool, result) { this._priority = priority; owner.OnResult(value => { this.Result = value; }); }