Beispiel #1
0
 private async Task OnEventOccurredAsync(StreamDeckEventPayload data)
 {
     if (EventOccurredAsync != null)
     {
         await EventOccurredAsync.Invoke(this, data);
     }
 }
Beispiel #2
0
 private Task OnEventOccurredAsync(StreamDeckEventPayload data) => EventOccurredAsync?.Invoke(this, data);