public static IAction Or(this IAction me, IEnumerable <IAction> others) { if (me == null) { throw new ArgumentNullException("me"); } if (others == null) { throw new ArgumentNullException("others"); } return(InputAction.AnyOf(others.Append(me))); }
public static IAction AnyOf(params IAction[] actions) { return(InputAction.AnyOf((IEnumerable <IAction>)actions)); }
public static IAction Any(IEnumerable <Func <IAction> > actionSelectors) { return(InputAction.AnyOf(actionSelectors.Select(LambdaAction.From))); }