public IMatchA <ItemToMatch> create_dsl_result(IMatchA <AttributeType> value_condition) { return(new AttributeMatch <ItemToMatch, AttributeType>(accessor, value_condition)); }
public OrMatch(IMatchA <ItemToMatch> left_side, IMatchA <ItemToMatch> right_side) { this.left_side = left_side; this.right_side = right_side; }
public IMatchA <ItemToMatch> create_dsl_result(IMatchA <AttributeType> value_condition) { return(original.create_dsl_result(value_condition).not()); }
public IEnumerable <Item> create_dsl_result(IMatchA <AttributeType> value_condition) { return(original.create_dsl_result(value_condition.not())); }
public NegatingMatch(IMatchA <ItemToMatch> to_negate) { this.to_negate = to_negate; }
public static IMatchA <ItemToMatch> or <ItemToMatch>(this IMatchA <ItemToMatch> left, IMatchA <ItemToMatch> right) { return(new OrMatch <ItemToMatch>(left, right)); }
public IEnumerable <Item> create_dsl_result(IMatchA <AttributeType> value_condition) { var matcher = filter_extensions.create_dsl_result(value_condition); return(items.filter(matcher)); }
public static IMatchA <ItemToMatch> and <ItemToMatch>(this IMatchA <ItemToMatch> left, IMatchA <ItemToMatch> right) { return(new AndMatch <ItemToMatch>(left, right)); }
public static IMatchA <ItemToMatch> not <ItemToMatch>(this IMatchA <ItemToMatch> to_negate) { return(new NegatingMatch <ItemToMatch>(to_negate)); }
public AttributeMatch(IGetTheValueOfAnAttribute <ItemToMatch, AttributeType> get_the_value, IMatchA <AttributeType> value_criteria) { this.get_the_value = get_the_value; this.value_criteria = value_criteria; }
public static IEnumerable <T> filter <T>(this IEnumerable <T> items, IMatchA <T> specification) { return(items.filter(specification.matches)); }
public static ReturnType for_value_matcher <ItemToMatch, AttributeType, ReturnType>(this IProvideAccessToMatchCreationExtensions <ItemToMatch, AttributeType, ReturnType> extension_point, IMatchA <AttributeType> value_condition) { return(extension_point.create_dsl_result(value_condition)); }