ApplicationShutdownOrderAttribute
A class in Root.Township, the global namespace.
Class attribute that sets the order of a class's shutdown handlers. ShutdownOrderComparer sorts ApplicationManager's shutdown delegates by it.
- Listed in Global namespace: A to B
- Inherits or implements
Attribute - Attributes
Usage
Constructors
| Member | What it is |
|---|---|
ApplicationShutdownOrderAttribute(int order) | Creates an ApplicationShutdownOrderAttribute from order. |
Properties
| Member | What it is |
|---|---|
int ShutdownOrder { get; private set; } | The order value given in the constructor. |
Methods
| Member | What it is |
|---|---|
static int GetShutdownOrder(Type targetType) | Returns the order on the given type's attribute, or 0 when it has none. |