Sorry for the all the stupid questions, but I just got excited jumped in and started playing around in your solution...(yeah..nerdy)
My situation is this. I need to have a windows service that runs and schedules different tasks to execute. The windows service needs to do a lot of reporting (database updates), on what is running and the current status of those tasks.
I see the ITaskPlugin interface has some events like (EventStart, EventEnd, EventProcessing, etc...). It seems that these events are caught inside the TaskPoller class, and stops there.
In my situation, I would love to write my own Windows Service, instantiate a new TaskPoller to take care of all the scheduling and execution, and then just listen for events from each service to do my reporting. Is this possible? Will the different
events bubble up to my windows service?
Again, sorry if this is a dumb question and I'm missing the concept of your solution..