Volume Control
Application-specific hotkeys for Windows
VolumeControl.Core.Input.Actions.HotkeyActionInstance Class Reference

An instance of a hotkey action. More...

Collaboration diagram for VolumeControl.Core.Input.Actions.HotkeyActionInstance:

Public Member Functions

void Invoke (IHotkey sender, HotkeyPressedEventArgs e)
 Invokes the method specified by the HotkeyActionDefinition More...
 
void Invoke (IHotkey sender)
 Invokes the method specified by the HotkeyActionDefinition with a new HotkeyPressedEventArgs instance. More...
 

Properties

HotkeyActionDefinition HotkeyActionDefinition [get]
 Gets the HotkeyActionDefinition that defines this hotkey action. More...
 
string Name [get]
 
string? Description [get]
 
string? GroupName [get]
 
Brush? GroupBrush [get]
 
string Identifier [get]
 
IActionSettingInstance[] ActionSettings [get]
 Gets the action setting instances for this hotkey action. More...
 

Detailed Description

An instance of a hotkey action.

Member Function Documentation

◆ Invoke() [1/2]

void VolumeControl.Core.Input.Actions.HotkeyActionInstance.Invoke ( IHotkey  sender)

Invokes the method specified by the HotkeyActionDefinition with a new HotkeyPressedEventArgs instance.

Parameters
senderThe hotkey instance to use as the sender of the event.

◆ Invoke() [2/2]

void VolumeControl.Core.Input.Actions.HotkeyActionInstance.Invoke ( IHotkey  sender,
HotkeyPressedEventArgs  e 
)

Invokes the method specified by the HotkeyActionDefinition

Parameters
senderThe hotkey instance to use as the sender of the event.
eThe event arguments to use for the event.

References VolumeControl.Log.AsyncLogWriter.Error(), VolumeControl.Log.AsyncLogWriter.FilterEventType(), VolumeControl.Log.FLog.Log, and VolumeControl.Log.AsyncLogWriter.Trace().

Here is the call graph for this function:

Property Documentation

◆ ActionSettings

IActionSettingInstance [] VolumeControl.Core.Input.Actions.HotkeyActionInstance.ActionSettings
get

Gets the action setting instances for this hotkey action.

Referenced by VolumeControl.Core.Input.Json.JsonHotkey.JsonHotkey().

◆ HotkeyActionDefinition

HotkeyActionDefinition VolumeControl.Core.Input.Actions.HotkeyActionInstance.HotkeyActionDefinition
get

Gets the HotkeyActionDefinition that defines this hotkey action.


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