Volume Control
Application-specific hotkeys for Windows
|
Represents an action setting instance. More...
Public Member Functions | |
void | Deconstruct (out bool isEnabled, out object? value) |
Deconstructs the action setting into a tuple that includes whether the setting is enabled or not, and its value. More... | |
void | Deconstruct (out bool isEnabled, out T? value) |
Deconstructs the action setting into a tuple that includes whether the setting is enabled or not, and its value. More... | |
Properties | |
ActionSettingDefinition | ActionSettingDefinition [get] |
Gets the definition object for this action setting instance. More... | |
string | Name [get] |
Gets the name of this action setting instance. More... | |
string? | Description [get] |
Gets the description of this action setting instance. More... | |
object? | Value [get, set] |
Gets or sets the value of this action setting instance. More... | |
Type | ValueType [get] |
Gets the value type of this action setting instance. More... | |
object? | DefaultValue [get] |
Gets the default value of this action setting instance. More... | |
bool | IsToggleable [get] |
Gets whether this action setting instance can be toggled on/off. More... | |
bool | IsEnabled [get, set] |
Gets or sets whether this action setting instance is enabled. More... | |
T? | Value [get, set] |
Gets or sets the value of this action setting instance. More... | |
T? | DefaultValue [get] |
Gets the default value of this action setting instance. More... | |
Represents an action setting instance.
Represents a strongly-typed action setting instance.
T | The value type of this action setting. |
void VolumeControl.Core.Input.Actions.Settings.IActionSettingInstance< T >.Deconstruct | ( | out bool | isEnabled, |
out object? | value | ||
) |
Deconstructs the action setting into a tuple that includes whether the setting is enabled or not, and its value.
isEnabled | true when the setting is enabled (or isn't toggleable); otherwise false . |
value | The value of the setting. |
void VolumeControl.Core.Input.Actions.Settings.IActionSettingInstance< T >.Deconstruct | ( | out bool | isEnabled, |
out T? | value | ||
) |
Deconstructs the action setting into a tuple that includes whether the setting is enabled or not, and its value.
isEnabled | true when the setting is enabled (or isn't toggleable); otherwise false . |
value | The value of the setting. |
Implemented in VolumeControl.Core.Input.Actions.Settings.ActionSettingInstance< T >.
|
get |
Gets the definition object for this action setting instance.
|
get |
Gets the default value of this action setting instance.
|
get |
Gets the default value of this action setting instance.
|
get |
Gets the description of this action setting instance.
|
getset |
Gets or sets whether this action setting instance is enabled.
When IsToggleable is false
, this always returns true
and cannot be changed.
true
when enabled or not toggleable; false
when disabled.true
when enabled; false
when disabled; null
when IsToggleable is false
.
|
get |
Gets whether this action setting instance can be toggled on/off.
|
get |
Gets the name of this action setting instance.
|
getset |
Gets or sets the value of this action setting instance.
|
getset |
Gets or sets the value of this action setting instance.
|
get |
Gets the value type of this action setting instance.