コード例 #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));
 }