Click or drag to resize
WeakEventManagerT Methods

The WeakEventManagerT generic type exposes the following members.

Methods
  NameDescription
Protected methodStatic memberCheckForNull
Helper method that throw ArgumentNullException if given source is null.
Protected methodDeliverEvent
Delivers the event being managed to each listener.
(Inherited from WeakEventManager.)
Protected methodDeliverEventToList
Delivers the event being managed to each listener in the provided list.
(Inherited from WeakEventManager.)
Protected methodProtectedAddListener
Adds the provided listener to the provided source for the event being managed.
(Inherited from WeakEventManager.)
Protected methodProtectedRemoveListener
Removes a previously added listener from the provided source.
(Inherited from WeakEventManager.)
Protected methodPurge
Removes inactive listener entries from the data list for the provided source. Returns true if some entries were actually removed from the list.
(Inherited from WeakEventManager.)
Protected methodRemove
Removes all listeners for the specified source.
(Inherited from WeakEventManager.)
Protected methodScheduleCleanup
Requests that a purge of unused entries in the underlying listener list be performed on a lower priority thread.
(Inherited from WeakEventManager.)
Protected methodStartListening
When overridden in a derived class, starts listening for the event being managed. After the StartListening(Object) method is first called, the manager should be in the state of calling DeliverEvent(Object, EventArgs) or DeliverEventToList(Object, EventArgs, WeakEventManagerListenerList) whenever the relevant event from the provided source is handled.
(Inherited from WeakEventManager.)
Protected methodStopListening
When overridden in a derived class, stops listening on the provided source for the event being managed.
(Inherited from WeakEventManager.)
Top
See Also