コード例 #1
0
 public TRuleTypeShouldConjunction DoNotHaveNameContaining(string pattern)
 {
     _ruleCreator.ContinueComplexCondition(
         ObjectPredicatesDefinition <TReferenceType> .DoNotHaveNameContaining(pattern));
     return(Create <TRuleTypeShouldConjunction, TRuleType>(_ruleCreator));
 }
コード例 #2
0
 public TGivenRuleTypeConjunction DoNotHaveNameContaining(string pattern)
 {
     _ruleCreator.AddPredicate(ObjectPredicatesDefinition <TRuleType> .DoNotHaveNameContaining(pattern));
     return(Create <TGivenRuleTypeConjunction, TRuleType>(_ruleCreator));
 }