views:

166

answers:

1

hopefully there are some working samples else any place where to start looking

Ideally should be able to able to execute methods on Background/Foreground method as marked/attributed

+1  A: 

You could try this implementation of an event broker from CodeProject.

It is based on attributes and supports thread synchronization, weak references (so as not to interfere with garbage collection) and a simple hierarchy system.

I haven't used it myself but the author states that it is based on the event broker from Composite (UI) Application Block which I have found quite useful.

Nathan Baulch