MetalamaAPI documentationExtensions APIMetalama.​Extensions.​Architecture.​FabricsVerifier­ExtensionsMust­Respect­Regex­Naming­Convention
Open sandboxFocus

VerifierExtensions.MustRespectRegexNamingConvention Method

MustRespectRegexNamingConvention(IVerifier<INamedDeclaration>, String)

Reports a warning when the target declaration does not respect the given naming convention, given as a regular expression.

Declaration
public static void MustRespectRegexNamingConvention(this IVerifier<INamedDeclaration> verifier, string pattern)
Parameters
Type Name Description
IVerifier<INamedDeclaration> verifier
System.String pattern