BooleanSwitch Class |
Input: Boolean (Switch).
Output: Object (Chosen data).
Namespace: Slash.Unity.DataBind.Foundation.Providers.Switches
The BooleanSwitch type exposes the following members.
Name | Description | |
---|---|---|
BooleanSwitch | Initializes a new instance of the BooleanSwitch class |
Name | Description | |
---|---|---|
Value |
Current data value.
(Overrides DataProviderValue.) |
Name | Description | |
---|---|---|
Deinit |
Deinitializes the operator.
By default this method removes the added bindings.
(Overrides DataBindingOperatorDeinit.) | |
Init |
Initializes the operator.
This method should be used to add bindings.
(Overrides DataBindingOperatorInit.) | |
UpdateValue |
Called when the value of the data provider should be updated.
(Overrides DataProviderUpdateValue.) |
Name | Description | |
---|---|---|
OptionFalse |
Data to use if switch is false.
| |
OptionTrue |
Data to use if switch is true.
| |
Switch |
Switch to decide which option to use.
|