Volume Control
Application-specific hotkeys for Windows
VolumeControl.Core.Input.Actions.Settings.ActionSettingInstance< T > Class Template Reference

Container for a named parameter that is passed to an action method when invoked. More...

Inheritance diagram for VolumeControl.Core.Input.Actions.Settings.ActionSettingInstance< T >:
Collaboration diagram for VolumeControl.Core.Input.Actions.Settings.ActionSettingInstance< T >:

Public Member Functions

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.
 

Properties

ActionSettingDefinition ActionSettingDefinition [get]
 
string Name [get]
 
string? Description [get]
 
Type ValueType [get]
 
bool IsToggleable [get]
 
T? DefaultValue [get]
 
T? Value [get, set]
 
bool IsEnabled [get, set]
 
- Properties inherited from VolumeControl.Core.Input.Actions.Settings.IActionSettingInstance< T >
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...
 

Events

PropertyChangedEventHandler? PropertyChanged
 

Detailed Description

Container for a named parameter that is passed to an action method when invoked.

Template Parameters
TThe type of value contained by this action setting instance.

The documentation for this class was generated from the following file: