public PredicateOperatorBuilder(IPredicateOperators operators, string name) { _operators = operators; _sourceType = typeof(TSource); _name = name; _operators = operators; }
public static PredicateOperatorBuilder <TSource> Predicate <TSource>(this IPredicateOperators predicateOperators, string token) { if (predicateOperators == null) { throw new ArgumentNullException(nameof(predicateOperators)); } if (token == null) { throw new ArgumentNullException(nameof(token)); } return(new PredicateOperatorBuilder <TSource>(predicateOperators, token)); }
public static SubsetOperatorBuilder <TResult> Subset <TResult>(this IPredicateOperators predicateOperators, string token) { if (predicateOperators == null) { throw new ArgumentNullException(nameof(predicateOperators)); } if (token == null) { throw new ArgumentNullException(nameof(token)); } return(new SubsetOperatorBuilder <TResult>(predicateOperators, token)); }
public SubsetOperatorBuilder(IPredicateOperators operators, string name) { if (operators == null) { throw new ArgumentNullException(nameof(operators)); } if (name == null) { throw new ArgumentNullException(nameof(name)); } _resultType = typeof(TResult); _operators = operators; _name = name; }