예제 #1
0
        public static IAct <T> When <T0, T1>(Action <T, T0, T1> whenAction, T0 arg0, T1 arg1)
        {
            var journey = new TestJourney <T>(new T());

            journey.When(whenAction, arg0, arg1);

            return(journey);
        }
예제 #2
0
        public static IAct <T> When <T0, T1, T2, T3>(Action <T, T0, T1, T2, T3> whenAction, T0 arg0, T1 arg1, T2 arg2, T3 arg3)
        {
            var journey = new TestJourney <T>(new T());

            journey.When(whenAction, arg0, arg1, arg2, arg3);

            return(journey);
        }
예제 #3
0
        public static IAct <T> When(Action <T> whenAction)
        {
            var journey = new TestJourney <T>(new T());

            journey.When(whenAction);

            return(journey);
        }