Ejemplo n.º 1
0
 public ImmediateTaskResult(BaseTaskResult owner, IThreadPool threadpool, IThreadPoolResult result) : base(threadpool, result)
 {
     owner.OnResult(value =>
     {
         this.Result = value;
     });
 }
Ejemplo 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;
     });
 }