xenoinc / ToolsHub

Desktop productivity with "not your average quick launcher" plus Pomodoro Timer! 🍅 by Xeno Innovations, built using Mono.Addins. Coming soon is the sidebar desktop dock similar to RocketDock or ObjectDock
https://xenoinc.com
GNU General Public License v3.0
6 stars 1 forks source link

[test][msgsender] Create a simple MessageSender test #63

Closed DamianSuess closed 5 years ago

DamianSuess commented 5 years ago

As a developer, I would like to be able to loosely communicate between add-in host and extensions via a Message Sender. This allows us the ability to send a signal out to parts of our code and only listening parties can act upon it if they choose to do so.

For example, we want to refresh the System Tray after editing it. We wouldn't need IoC, just simply send a message to inform SystemTrayManager to refresh its menu cache and display it.

Acceptance

Out of Scope

DamianSuess commented 5 years ago

Added simple messaging center and wired it into SysTray to remotely perform refresh, notify bubble, and update icon via add-ins

DamianSuess commented 5 years ago

Added system tests for MessagingCenter

DamianSuess commented 5 years ago

Merged via pull request #64