private TSelf AddMatchingRule(IMemberMatchingRule matchingRule) { matchingRules.Insert(0, matchingRule); return((TSelf)this); }
public CollectionMemberMatchingRuleDecorator(IMemberMatchingRule matchingRule) { this.matchingRule = matchingRule; }
/// <summary> /// Adds a matching rule to the ones already added by default, and which is evaluated before all existing rules. /// </summary> public TSelf Using(IMemberMatchingRule matchingRule) { return(AddMatchingRule(matchingRule)); }
public CollectionMemberMatchingRuleDecorator(IMemberMatchingRule matchingRule) { this.matchingRule = matchingRule; }