Esempio n. 1
0
 private void RecordValueAction(Func <string, IList <string>, bool> withTest,
                                Func <string, bool> whereTest,
                                IList <string> withValues,
                                Func <string, TResult> action)
 {
     _valueFunctionSelector.AddTestAndAction(withTest, withValues, whereTest, action);
 }
 private void RecordAction(Func <T, IList <T>, bool> withTest,
                           Func <T, bool> whereTest,
                           IList <T> withData,
                           Func <T, TResult> action)
 {
     _case1FunctionSelector.AddTestAndAction(withTest, withData, whereTest, action);
 }
Esempio n. 3
0
 private void RecordAction(Func <TResult> action) =>
 _case2FunctionSelector.AddTestAndAction((x, y) => true, null, null, x => action());