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

Provides methods to load HotkeyActionDefinition instances from types or assemblies using reflection. More...

Collaboration diagram for VolumeControl.Core.Input.HotkeyActionAddonLoader:

Static Public Member Functions

static void LoadProviders (ref TemplateProviderManager provider, params Type[] types)
 Loads DataTemplate providers from the specified types and registers them with the provider . More...
 
static HotkeyActionDefinition[] LoadActions (TemplateProviderManager provider, params Type[] types)
 Loads hotkey actions from the specified types . More...
 

Detailed Description

Provides methods to load HotkeyActionDefinition instances from types or assemblies using reflection.

Member Function Documentation

◆ LoadActions()

static HotkeyActionDefinition [] VolumeControl.Core.Input.HotkeyActionAddonLoader.LoadActions ( TemplateProviderManager  provider,
params Type[]  types 
)
static

Loads hotkey actions from the specified types .

Parameters
providerThe TemplateProviderManager instance to use for resolving data template providers.
typesAny number of Type instances that represent hotkey action group types.
Returns
List of HotkeyActionDefinition objects for all publicly-accessible action methods.

References VolumeControl.Log.AsyncLogWriter.Debug(), VolumeControl.Log.FLog.Debug(), VolumeControl.Log.FLog.Error(), VolumeControl.Log.AsyncLogWriter.FilterEventType(), VolumeControl.Log.FLog.FilterEventType(), VolumeControl.Core.Input.TemplateProviderManager.FindDataTemplateFor(), VolumeControl.Log.FLog.Log, and VolumeControl.Log.AsyncLogWriter.Trace().

Here is the call graph for this function:

◆ LoadProviders()

static void VolumeControl.Core.Input.HotkeyActionAddonLoader.LoadProviders ( ref TemplateProviderManager  provider,
params Type[]  types 
)
static

Loads DataTemplate providers from the specified types and registers them with the provider .

Parameters
providerThe TemplateProviderManager instance to load the provider types into.
typesAny number of Type instances that represent classes with the DataTemplateProviderAttribute.

References VolumeControl.Log.FLog.Error().

Here is the call graph for this function:

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