public ErrorMatcher(ValueOrErrorMatcher <T> matcher, System.Action <System.Action <string> > addAction, bool isError) { _addAction = addAction; _matcher = matcher; _isError = isError; }
public ErrorMatcher(ValueOrErrorMatcher <T> matcher, DelegateAction <DelegateAction <string> > addAction, bool isError) { _addAction = addAction; _matcher = matcher; _isError = isError; }
internal WhereForValue(DelegateFunc <T, bool> predicate, DelegateAction <DelegateFunc <T, bool>, DelegateAction <T> > addPredicateAndAction, ValueOrErrorMatcher <T> matcher, bool isUseless = false) { _predicate = predicate; _addPredicateAndAction = addPredicateAndAction; _matcher = matcher; _isUseless = isUseless; }
public ValueMatcher(ValueOrErrorMatcher <T> matcher, DelegateAction <DelegateFunc <T, bool>, DelegateAction <T> > addPredicateAndAction, DelegateAction <DelegateAction <T> > addAddDefaultValueAction, bool isError) { _addDefaultValueAction = addAddDefaultValueAction; _matcher = matcher; _addPredicateAndAction = addPredicateAndAction; _isError = isError; }
internal WithForValueActionHandler(T value, Action <Func <T, bool>, Action <T> > addPredicateAndAction, ValueOrErrorMatcher <T> matcher, bool isUseless) { _addPredicateAndAction = addPredicateAndAction; _matcher = matcher; _isUseless = isUseless; if (isUseless) { return; } _values = new List <T>(3) { value }; }
public static WhereForValue <T> Useless(ValueOrErrorMatcher <T> matcher) { return(new WhereForValue <T>(null, null, matcher, true)); }