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