Пример #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;
 }