Class DerivedTypesMustRespectRegexNamingConventionAttribute
Aspect that, when applied to a type, reports a warning for any derived type that does not respect a naming convention given as regular expression.
Inheritance
Implements
Namespace: Metalama.Extensions.Architecture.Aspects
Assembly: Metalama.Extensions.Architecture.dll
Syntax
public class DerivedTypesMustRespectRegexNamingConventionAttribute : TypeAspect, IAspect<INamedType>, IAspect, ICompileTimeSerializable, ITemplateProvider, IEligible<INamedType>
Constructors
Name | Description |
---|---|
DerivedTypesMustRespectRegexNamingConventionAttribute(String) | |
DerivedTypesMustRespectRegexNamingConventionAttribute(String, String) |
Properties
Name | Description |
---|---|
DisplayPattern | |
ExclusionPredicateType | Gets a System.Type, derived from ReferencePredicate, that determines exclusions for the current
architecture rule. Specifically, no warning will be reported if the IsMatch(in ReferenceValidationContext) method
of the ReferencePredicate returns |
RegexPattern |
Methods
Name | Description |
---|---|
BuildAspect(IAspectBuilder<INamedType>) | |
ToString() |