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