Metalama 1.0 / / Metalama Documentation / Extensions API / Metalama.​Extensions.​Architecture.​Fabrics / Architecture­Verifier­Extensions / Derived­Types­Must­Respect­Regex­Naming­Convention

Method DerivedTypesMustRespectRegexNamingConvention

DerivedTypesMustRespectRegexNamingConvention(ArchitectureVerifier, String)

Reports a warning when any type that inherits any type in the current scope does not follow a given convention, where the convention is given as a regular expression.

Declaration
public static void DerivedTypesMustRespectRegexNamingConvention(this ArchitectureVerifier verifier, string pattern)
Parameters
Type Name Description
ArchitectureVerifier verifier
String pattern