Exemple #1
0
 public static IActionFuture PushAction(this IActionFuture future, IAction action)
 {
     Check.NotNull(action, nameof(action));
     return(future.PushAction(objs => action));
 }
Exemple #2
0
 public static IActionFuture PushAction <TResult>(this IActionFuture future,
                                                  Func <TResult, IAction> func, int dependentResultIndex)
 {
     Check.NotNull(func, nameof(func));
     return(future.PushAction(objs => func(objs[dependentResultIndex].CastTo <TResult>())));
 }