WeakEventManager<TEventSource, TEventArgs> Methods
.NET Framework 4.5
The WeakEventManager<TEventSource, TEventArgs> type exposes the following members.
| Name | Description | |
|---|---|---|
|
AddHandler | Adds the specified event handler to the specified event. |
|
CheckAccess | Determines whether the calling thread has access to this DispatcherObject. (Inherited from DispatcherObject.) |
|
DeliverEvent | Delivers the event being managed to each listener. (Inherited from WeakEventManager.) |
|
DeliverEventToList | Delivers the event being managed to each listener in the provided list. (Inherited from WeakEventManager.) |
|
Equals(Object) | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
|
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
|
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
|
GetType | Gets the Type of the current instance. (Inherited from Object.) |
|
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
|
NewListenerList | Returns a new object to contain listeners to an event. (Overrides WeakEventManager.NewListenerList().) |
|
ProtectedAddHandler | Adds the specified delegate as an event handler of the specified source. (Inherited from WeakEventManager.) |
|
ProtectedAddListener | Adds the provided listener to the provided source for the event being managed. (Inherited from WeakEventManager.) |
|
ProtectedRemoveHandler | Removes the previously added handler from the specified source. (Inherited from WeakEventManager.) |
|
ProtectedRemoveListener | Removes a previously added listener from the provided source. (Inherited from WeakEventManager.) |
|
Purge | 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.) |
|
Remove | Removes all listeners for the specified source. (Inherited from WeakEventManager.) |
|
RemoveHandler | Removes the specified event handler from the specified event. |
|
ScheduleCleanup | Requests that a purge of unused entries in the underlying listener list be performed on a lower priority thread. (Inherited from WeakEventManager.) |
|
StartListening | Starts listening for the event on the specified object. (Overrides WeakEventManager.StartListening(Object).) |
|
StopListening | Stops listening for the event on the specified object. (Overrides WeakEventManager.StopListening(Object).) |
|
ToString | Returns a string that represents the current object. (Inherited from Object.) |
|
VerifyAccess | Enforces that the calling thread has access to this DispatcherObject. (Inherited from DispatcherObject.) |