DevOnlyAttribute
A class in Root.Township, Alta.Console.
Console requirement: the command (or settings property) is only for users whose identity token has the developer role.
- Listed in Console, logging and analytics
- Inherits or implements
RequirementAttribute
Constructors
| Member | What it is |
|---|---|
DevOnlyAttribute() | Creates a DevOnlyAttribute with default values. |
Methods
| Member | What it is |
|---|---|
override bool Check() | True if the signed-in user's identity token says they are a developer. |
override string ToString() | Returns "Dev Only". |