Class Boolean
Boolean variable
Inherited Members
Namespace: UrlLib
Assembly: UrlLib.dll
Syntax
public class Boolean : Variable
Constructors
Boolean(String, Boolean, Scope, StoreType)
Constructor for a variable of boolean type
Declaration
[JsonConstructor]
public Boolean(string name, bool value = false, Scope scope = Scope.Local, StoreType storeType = StoreType.NonPersistent)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | Variable name |
| System.Boolean | value | Init value |
| Scope | scope | Scope target |
| StoreType | storeType |
Properties
InitValue
Init value
Declaration
[JsonIgnore]
public override string InitValue { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Overrides
Value
Value
Declaration
[JsonInclude]
public bool Value { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |