Class ActiveState
Assembly: Glitch9.dll
Syntax
public class ActiveState : State<bool>
Constructors
|
Edit this page
View Source
ActiveState(bool, string)
Declaration
public ActiveState(bool isActive, string reason = null)
Parameters
Properties
|
Edit this page
View Source
IsActive
Declaration
public bool IsActive { get; }
Property Value
Methods
|
Edit this page
View Source
Active(string)
Declaration
public static ActiveState Active(string reason = null)
Parameters
| Type |
Name |
Description |
| string |
reason |
|
Returns
|
Edit this page
View Source
Inactive(string)
Declaration
public static ActiveState Inactive(string reason = null)
Parameters
| Type |
Name |
Description |
| string |
reason |
|
Returns
Extension Methods