public TRuleTypeShouldConjunction DoNotCallAny(IEnumerable <string> patterns, bool useRegularExpressions = false) { _ruleCreator.ContinueComplexCondition( ObjectPredicatesDefinition <TReferenceType> .DoNotCallAny(patterns, useRegularExpressions)); return(Create <TRuleTypeShouldConjunction, TRuleType>(_ruleCreator)); }
public TGivenRuleTypeConjunction DoNotCallAny(IEnumerable <string> patterns, bool useRegularExpressions = false) { _ruleCreator.AddPredicate( ObjectPredicatesDefinition <TRuleType> .DoNotCallAny(patterns, useRegularExpressions)); return(Create <TGivenRuleTypeConjunction, TRuleType>(_ruleCreator)); }
public TRuleTypeShouldConjunction DoNotCallAny(IObjectProvider <MethodMember> methods) { _ruleCreator.ContinueComplexCondition( ObjectPredicatesDefinition <TReferenceType> .DoNotCallAny(methods)); return(Create <TRuleTypeShouldConjunction, TRuleType>(_ruleCreator)); }
public TGivenRuleTypeConjunction DoNotCallAny(IObjectProvider <MethodMember> methods) { _ruleCreator.AddPredicate(ObjectPredicatesDefinition <TRuleType> .DoNotCallAny(methods)); return(Create <TGivenRuleTypeConjunction, TRuleType>(_ruleCreator)); }
public TGivenRuleTypeConjunction DoNotCallAny(MethodMember method, params MethodMember[] moreMethods) { _ruleCreator.AddPredicate(ObjectPredicatesDefinition <TRuleType> .DoNotCallAny(method, moreMethods)); return(Create <TGivenRuleTypeConjunction, TRuleType>(_ruleCreator)); }