Class NameAttribute
Marks the public name of a command, module, or parameter.
[AttributeUsage(AttributeTargets.Class|AttributeTargets.Method|AttributeTargets.Parameter, AllowMultiple = false, Inherited = true)]
public class NameAttribute : Attribute
- Inheritance
-
NameAttribute
- Inherited Members
Constructors
NameAttribute(string)
Marks the public name of a command, module, or parameter with the provided name.
public NameAttribute(string text)
Parameters
text
stringThe public name of the object.
Properties
Text
Gets the name of the command.
public string Text { get; }