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