public static void ActionTypeChangedLayerNavigation(object sender, StreamDeckPanel streamDeckPanel, EnumStreamDeckActionType actionType, string layerName) { var arguments = new ActionTypeChangedEventArgs { BindingHash = streamDeckPanel.BindingHash, ActionType = actionType, TargetLayerName = layerName }; OnActionTypeChanged?.Invoke(sender, arguments); }
public static bool OnActionTypeChangedEventSubscribed() { return(OnActionTypeChanged != null && OnActionTypeChanged.GetInvocationList().Length > 0); }