Exemplo n.º 1
0
 public TRuleTypeShouldConjunction NotCallAny(IEnumerable <string> patterns,
                                              bool useRegularExpressions = false)
 {
     _ruleCreator.AddCondition(
         ObjectConditionsDefinition <TRuleType> .NotCallAny(patterns, useRegularExpressions));
     return(Create <TRuleTypeShouldConjunction, TRuleType>(_ruleCreator));
 }
Exemplo n.º 2
0
 public TRuleTypeShouldConjunction NotCallAny(IObjectProvider <MethodMember> methods)
 {
     _ruleCreator.AddCondition(ObjectConditionsDefinition <TRuleType> .NotCallAny(methods));
     return(Create <TRuleTypeShouldConjunction, TRuleType>(_ruleCreator));
 }
Exemplo n.º 3
0
 public TRuleTypeShouldConjunction NotCallAny(MethodMember method, params MethodMember[] moreMethods)
 {
     _ruleCreator.AddCondition(ObjectConditionsDefinition <TRuleType> .NotCallAny(method, moreMethods));
     return(Create <TRuleTypeShouldConjunction, TRuleType>(_ruleCreator));
 }