예제 #1
0
 public PluginEventHandler(StreamDeckPlugin plugin, ClientArguments clientArguments)
 {
     _plugin         = plugin;
     _plugin.Context = clientArguments.UUID;
 }
 public ActionEventHandler(IServiceProvider serviceProvider, List <ActionDefinition> actions, ClientArguments clientArguments)
 {
     _serviceProvider = serviceProvider;
     _clientArguments = clientArguments;
     _actionMap       = actions.ToDictionary(k => k.ActionData.Name.ToLower(), v => v.Type);
 }