Beispiel #1
0
        private static VoidMicroTask GetDone()
        {
            var t = new VoidMicroTask();

            t.SetComplete();
            return(t);
        }
Beispiel #2
0
 public VoidResultAwaiter(VoidMicroTask t)
 {
     this.t = t;
 }
Beispiel #3
0
 /// <summary>
 /// Creates a new result with a task as content.
 /// </summary>
 /// <param name="task"></param>
 public VoidResult(VoidMicroTask task)
 {
     this.task = task;
 }