public MethodMembersShouldConjunction NotBeCalledBy(IEnumerable <Type> types)
 {
     _ruleCreator.AddCondition(MethodMemberConditionsDefinition.NotBeCalledBy(types));
     return(new MethodMembersShouldConjunction(_ruleCreator));
 }
 public MethodMembersShouldConjunction NotBeCalledBy(Type type, params Type[] moreTypes)
 {
     _ruleCreator.AddCondition(MethodMemberConditionsDefinition.NotBeCalledBy(type, moreTypes));
     return(new MethodMembersShouldConjunction(_ruleCreator));
 }
 public MethodMembersShouldConjunction NotBeCalledBy(IObjectProvider <IType> types)
 {
     _ruleCreator.AddCondition(MethodMemberConditionsDefinition.NotBeCalledBy(types));
     return(new MethodMembersShouldConjunction(_ruleCreator));
 }
 public MethodMembersShouldConjunction NotBeCalledBy(IEnumerable <string> patterns,
                                                     bool useRegularExpressions = false)
 {
     _ruleCreator.AddCondition(MethodMemberConditionsDefinition.NotBeCalledBy(patterns, useRegularExpressions));
     return(new MethodMembersShouldConjunction(_ruleCreator));
 }