Example #1
0
        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);
        }
Example #2
0
 public static bool OnActionTypeChangedEventSubscribed()
 {
     return(OnActionTypeChanged != null && OnActionTypeChanged.GetInvocationList().Length > 0);
 }