NonSimpleServerAttribute
A class in Root.Township, Alta.Console.
Console requirement: the command runs freely on non-simple servers; on a simple server the caller needs the listed policies (debug_features by default). Fails on clients.
- Listed in Console, logging and analytics
- Inherits or implements
RequirementAttribute
Constructors
| Member | What it is |
|---|---|
NonSimpleServerAttribute(params string[] roles) | Creates a NonSimpleServerAttribute from roles. |
Fields
1 private and internal field
Methods
| Member | What it is |
|---|---|
override bool Check(CommandContext context) | False with no server; true on a non-simple server; otherwise true only if the caller has every listed policy. |
override string ToString() | Returns "Non Simple Server". |