Open sandboxFocus

Class NamingConventionAttribute

Inheritance
NamingConventionAttribute
Namespace: PostSharp.Constraints
Assembly: Metalama.Migration.dll
Syntax
[MulticastAttributeUsage(MulticastTargets.Class|MulticastTargets.Interface, Inheritance = MulticastInheritance.Strict)]
[AttributeUsage(AttributeTargets.Assembly|AttributeTargets.Class|AttributeTargets.Interface)]
[Obsolete("In Metalama, use 'DerivedTypesMustRespectNamingConventionAttribute'", false)]
public sealed class NamingConventionAttribute : ScalarConstraint, IScalarConstraint, IConstraint

Constructors

Name Description
NamingConventionAttribute(string)

Properties

Name Description
Severity

Methods

Name Description
ValidateCode(object)
ValidateConstraint(object)