Thetype exposes the following members.
Adds the specified event handler to the specified event.
Removes the specified event handler from the specified event.
This class is intended to be a drop-in replacement for the WeakEventManager class that is available in .NET 4.5 but is not currently present in the Xamarin Mono class libraries. Use the AddHandlerTEventSource, TEventArgs(TEventSource, String, EventHandlerTEventArgs) and RemoveHandlerTEventSource, TEventArgs(TEventSource, String, EventHandlerTEventArgs) to add or remove event handlers.
|Important: Take care to remove any handlers when an event listener instance is disposed and/or finalized. Neglecting to do this will orhpan the objectsuses to track the handler references.|
I enhanced the code by making it threadsafe.