Class PriorityAttribute
Sets priority of commands.
[AttributeUsage(AttributeTargets.Method, AllowMultiple = false, Inherited = true)]
public class PriorityAttribute : Attribute
- Inheritance
-
PriorityAttribute
- Inherited Members
Constructors
PriorityAttribute(int)
Initializes a new PriorityAttribute attribute with the given priority.
public PriorityAttribute(int priority)
Parameters
priority
int
Properties
Priority
Gets the priority which has been set for the command.
public int Priority { get; }