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