Custom attribute that, when applied to a target class or an interface, validates that classes and interfaces derived from this target class or interface respect a giving naming convention, i.e. that their names matches a given pattern.
public sealed class NamingConventionAttribute : ScalarConstraint, IScalarConstraint, IConstraint
Initializes a new NamingConventionAttribute.
Gets or sets the severity of messages reporting violations of the current naming convention.
Validates the element of code to which the constraint is applied.
Validates the fact that the constraint has been applied on a valid element of code. When this