Exemple #1
0
 private Task SyncSettings(SetSettingsEvent setttingsEvent)
 {
     this.Settings = setttingsEvent.Payload;
     UpdateActionData(d => d.Settings = this.Settings);
     return(this.Send(new DidReceiveSettingsEvent
     {
         Payload = new StreamDeckInboundActionCommonPayload
         {
             State = this.State,
             Settings = this.Settings
         }
     }));
 }
 protected virtual void SetSettings()
 {
     settingsEvent = SetSize;
     settingsEvent += SetElementsLocation;
     settingsEvent += SetLabelsLocation;
 }
Exemple #3
0
 protected virtual void SetSettings()
 {
     settingsEvent  = SetSize;
     settingsEvent += SetElementsLocation;
     settingsEvent += SetLabelsLocation;
 }