PlayOnlyAttribute
A class in Root.Township, Alta.Console.
Console requirement: the command only runs in play mode.
- Listed in Console, logging and analytics
- Inherits or implements
RequirementAttribute
Constructors
| Member | What it is |
|---|---|
PlayOnlyAttribute() | Creates a PlayOnlyAttribute with default values. |
Methods
| Member | What it is |
|---|---|
override bool Check() | True when the application is playing. |
override string ToString() | Returns "Play Only". |