public TRuleTypeShouldConjunction HaveNameEndingWith(string pattern) { _ruleCreator.ContinueComplexCondition( ObjectPredicatesDefinition <TReferenceType> .HaveNameEndingWith(pattern)); return(Create <TRuleTypeShouldConjunction, TRuleType>(_ruleCreator)); }
public TGivenRuleTypeConjunction HaveNameEndingWith(string pattern) { _ruleCreator.AddPredicate(ObjectPredicatesDefinition <TRuleType> .HaveNameEndingWith(pattern)); return(Create <TGivenRuleTypeConjunction, TRuleType>(_ruleCreator)); }