예제 #1
0
 public TRuleTypeShouldConjunction NotDependOnAny(IEnumerable <string> patterns,
                                                  bool useRegularExpressions = false)
 {
     _ruleCreator.AddCondition(
         ObjectConditionsDefinition <TRuleType> .NotDependOnAny(patterns, useRegularExpressions));
     return(Create <TRuleTypeShouldConjunction, TRuleType>(_ruleCreator));
 }
예제 #2
0
 public TRuleTypeShouldConjunction NotDependOnAny(IEnumerable <Type> types)
 {
     _ruleCreator.AddCondition(ObjectConditionsDefinition <TRuleType> .NotDependOnAny(types));
     return(Create <TRuleTypeShouldConjunction, TRuleType>(_ruleCreator));
 }
예제 #3
0
 public TRuleTypeShouldConjunction NotDependOnAny(Type firstType, params Type[] moreTypes)
 {
     _ruleCreator.AddCondition(ObjectConditionsDefinition <TRuleType> .NotDependOnAny(firstType, moreTypes));
     return(Create <TRuleTypeShouldConjunction, TRuleType>(_ruleCreator));
 }