Class NameAttribute
Sets rule's name. Name set via the attribute overrides the default name, which is the fully qualified class name.
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = false)]
public sealed class NameAttribute : Attribute
- Inheritance
-
NameAttribute
- Inherited Members
Constructors
NameAttribute(string)
public NameAttribute(string value)
Parameters
value
string