예제 #1
0
 public ResultContinuation(ResultYieldInstruction <TResult> inst, Func <TResult, ResultYieldInstruction <TNext> > contFactory)
 {
     _inst        = inst;
     _contFactory = contFactory;
 }
예제 #2
0
 public ResultCallback(ResultYieldInstruction <TResult> inst, Func <TResult, TNext> callback)
 {
     _inst     = inst;
     _callback = callback;
 }
예제 #3
0
 public VoidContinuation(ResultYieldInstruction <TResult> inst, Func <TResult, TCont> contFactory)
 {
     _inst        = inst;
     _contFactory = contFactory;
 }
예제 #4
0
 public VoidCallback(ResultYieldInstruction <TResult> inst, Action <TResult> callback)
 {
     _inst     = inst;
     _callback = callback;
 }