public MatchCreationExtensionPoint(IGetTheValueOfAnAttribute <ItemToMatch, AttributeType> accessor) { this.accessor = accessor; }
public AttributeMatch(IGetTheValueOfAnAttribute <ItemToMatch, AttributeType> get_the_value, IMatchA <AttributeType> value_criteria) { this.get_the_value = get_the_value; this.value_criteria = value_criteria; }
with_attribute <AttributeType>(IGetTheValueOfAnAttribute <ItemToMatch, AttributeType> accessor) { return(new MatchCreationExtensionPoint <ItemToMatch, AttributeType>(accessor)); }
public static FilteringExtensionPoint <ItemType, AttributeType> where < ItemType, AttributeType > (this IEnumerable <ItemType> items, IGetTheValueOfAnAttribute <ItemType, AttributeType> accessor) { return(new FilteringExtensionPoint <ItemType, AttributeType>(Match <ItemType> .with_attribute(accessor), items)); }