public static void LayerSwitched(object sender, string bindingHash, string layerName) { var eventArgs = new StreamDeckShowNewLayerArgs { SelectedLayerName = layerName, BindingHash = bindingHash }; OnStreamDeckShowNewLayerEventHandler?.Invoke(sender, eventArgs); }
public static void LayerSwitched(object sender, StreamDeckShowNewLayerArgs e) { OnStreamDeckShowNewLayerEventHandler?.Invoke(sender, e); }