Example #1
0
        public static void SenderNotifiesIsDirty(object sender, EnumStreamDeckButtonNames buttonName, string layerName)
        {
            var eventArguments = new StreamDeckDirtyNotificationArgs();

            eventArguments.ButtonName = buttonName;
            eventArguments.LayerName  = layerName;

            OnDirtyNotificationEventHandler?.Invoke(sender, eventArguments);
        }
Example #2
0
        public static void SenderNotifiesIsDirty(object sender, EnumStreamDeckButtonNames buttonName, string layerName, string bindingHash)
        {
            var eventArguments = new StreamDeckDirtyNotificationArgs
            {
                BindingHash = bindingHash,
                ButtonName  = buttonName,
                LayerName   = layerName
            };

            OnDirtyNotificationEventHandler?.Invoke(sender, eventArguments);
        }