示例#1
0
 public override Completion <TResult> Select <TResult>(Completion <T> result, Func <T, TResult> func) => interrupted <TResult>(exception);
示例#2
0
 public override bool ValueEqualTo(Completion <T> otherCompletion) => false;
示例#3
0
 public override Completion <T> Or(Completion <T> other) => other;
示例#4
0
 public override bool NotCompleted(out Completion <T> notCompleted)
 {
     notCompleted = this;
     return(true);
 }
示例#5
0
 public override bool IsCompleted(out Completion <T> completed)
 {
     completed = this;
     return(false);
 }
示例#6
0
 public override bool Else <TOther>(out Completion <TOther> result)
 {
     result = interrupted <TOther>(exception);
     return(true);
 }
示例#7
0
 public override Completion <TResult> Select <TResult>(Completion <T> result, Func <T, TResult> func) => cancelled <TResult>();
示例#8
0
 public override bool Else <TOther>(out Completion <TOther> result)
 {
     result = cancelled <TOther>();
     return(true);
 }