OpenChartProject / OpenChart

✨ NEW REPO ✨ https://github.com/OpenChartProject/OpenChart-web
https://github.com/OpenChartProject/OpenChart-web
Other
8 stars 3 forks source link

Create an event bus class for observing Charts #40

Closed Kangaroux closed 4 years ago

Kangaroux commented 4 years ago

Closes #39

Kangaroux commented 4 years ago

I want to make a couple changes to this

EDIT: specifically i want to add a new delegate type to use for the event handlers so the receiver doesn't have to cast the event args

EDIT 2: .net provides a generic EventHandler<T> that you can use instead of having to create a delegate type, did that instead