Class ActionNameAttribute
Represents an attribute that is used for the name of an action.
[AttributeUsage(AttributeTargets.Method, AllowMultiple = false, Inherited = true)]
public sealed class ActionNameAttribute : Attribute
- Inheritance
-
ActionNameAttribute
- Inherited Members
Constructors
ActionNameAttribute(string)
Initializes a new instance of the ActionNameAttribute class.
public ActionNameAttribute(string name)
Parameters
name
stringThe name of the action.
Properties
Name
Gets or sets the name of the action.
public string Name { get; }
Property Value
- string
The name of the action.