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