public static IActionFuture PushAction(this IActionFuture future, IAction action) { Check.NotNull(action, nameof(action)); return(future.PushAction(objs => action)); }
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>()))); }