示例#1
0
 protected void SetContinuation(TaskBase continuation, TaskContinuationOptions runOptions)
 {
     Task.ContinueWith(_ => ((TaskBase)(object)continuation).Run(), Token,
                       runOptions,
                       TaskManager.GetScheduler(continuation.Affinity));
 }