When you creating events, it takes a lot of time to writing service code.
You need:
class EventArgs - for data
class TODO - which doing some manipulation of data (it contains delegate, event and TODOMethod -for event calling)
and MethodHandler(object sender, EventArgs e), which subscribed on event and will been called when if statment == true e.c.
It could be simplified, like async/await. This is must be some simple expression like
MethodHandler(some type of data) => when counter = 100;
And it statement will create all service code: EventArgs, TODO, MethodHandler()
You need:
class EventArgs - for data
class TODO - which doing some manipulation of data (it contains delegate, event and TODOMethod -for event calling)
and MethodHandler(object sender, EventArgs e), which subscribed on event and will been called when if statment == true e.c.
It could be simplified, like async/await. This is must be some simple expression like
MethodHandler(some type of data) => when counter = 100;
And it statement will create all service code: EventArgs, TODO, MethodHandler()