refactor: Make AddAction generic

This commit is contained in:
Andrew Welker
2024-02-29 13:40:52 -06:00
parent 0ee3e1d52b
commit 1146d89abf

View File

@@ -37,7 +37,7 @@ namespace PepperDash.Essentials.Core.DeviceTypeInterfaces
void SendMessageObject(IMobileControlMessage o);
void AddAction(IMobileControlMessenger messenger, Action<string, string, JToken> action);
void AddAction<T>(T messenger, Action<string, string, JToken> action) where T:IMobileControlMessenger;
void RemoveAction(string key);