private void RecordFunction(Func <Tuple <T1, T2, T3>, IList <EitherTuple <T1, T2, T3> >, bool> test, IList <EitherTuple <T1, T2, T3> > values, Func <Tuple <T1, T2, T3>, TResult> function) { _functionSelector.AddTestAndAction(test, values, null, function); }
private void RecordFunction(IList <T1> values, Func <T1, TResult> function) => _functionSelector.AddTestAndAction((x, y) => y.Any(v => EqualityComparer <T1> .Default.Equals(x, v)), values, null, function);