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