public static HasAttributesOnMessage HasMethodsNotDecoratedWithAttribute( string projectName, string classNamePattern, string methodNamesPattern) { return(new HasAttributesOnMessage( TestRuleFormats.FormatHasAttributesOnRule(projectName, classNamePattern, methodNamesPattern))); }
public static HasPropertyReportedMessage HasProperty( string projectName, string name, string value) { return(new HasPropertyReportedMessage(TestRuleFormats.FormatHasPropertyRule(projectName, name, value))); }
public static HasCorrectNamespacesMessage HasCorrectNamespaces(string projectGlob) { return(new HasCorrectNamespacesMessage(TestRuleFormats.FormatCorrectNamespacesRule(projectGlob))); }
public static HasNoUsingsMessage HasNoUsings(string project, string from, string to) { return(new HasNoUsingsMessage(TestRuleFormats.FormatNoUsingsRule(project, from, to))); }
public static ProjectIndependentOfMessage ProjectIndependentOfProject(string assemblyNamePattern, string projectAssemblyNamePattern) { return(new ProjectIndependentOfMessage( TestRuleFormats.FormatIndependentRule($"{assemblyNamePattern}", "project", $"{projectAssemblyNamePattern}"))); }
public static ProjectIndependentOfMessage ProjectIndependentOfPackage(string projectName, string packageName) { return(new ProjectIndependentOfMessage( TestRuleFormats.FormatIndependentRule($"{projectName}", "package", $"{packageName}"))); }
public static HasNoCircularUsingsMessage HasNoCircularUsings(string projectGlob) { return(new HasNoCircularUsingsMessage(TestRuleFormats.FormatNoCircularUsingsRule(projectGlob))); }
public static HasTargetFrameworkReportedMessage HasFramework(string projectAssemblyNamePattern, string frameworkId) { return(new HasTargetFrameworkReportedMessage(TestRuleFormats.FormatHasTargetFrameworkRule(projectAssemblyNamePattern, frameworkId))); }