FritzAndFriends / StreamDeckToolkit

A .NET Standard library, template, and tools for building extensions to the Elgato Stream Deck
MIT License
164 stars 45 forks source link

Allow UUID definition from Implementing Class #172

Open ivanpointer opened 3 years ago

ivanpointer commented 3 years ago

Is your feature request related to a problem? Please describe. No - just an annoyance.

Describe the solution you'd like I'd like to be able to use either the ActionUuidAttribute or a solution that allows for runtime values; The attribute can only be instantiated with compile-time values (naturally). Perhaps an overload on a property the BaseStreamDeckAction base class to specify the UUID for the action? (I'm not sure, I haven't dug into the code yet - I'm not sure if an instance of the action is available when the UUID is needed).

Describe alternatives you've considered See above.

Additional context I'll be forking this repo to create a potential solution. I'll submit a PR from my fork to this repo (if I can). If no, I'll respond back in this issue with a link to the PR within my fork to show what I end up with...

** Is there one or more bugs reported related to this suggestion? If so, mention them below*** No.

ivanpointer commented 3 years ago

The "sister" issue to this in my fork is: https://github.com/ivanpointer/StreamDeckToolkit/issues/1

ivanpointer commented 3 years ago

PR Submitted: https://github.com/FritzAndFriends/StreamDeckToolkit/pull/173