WeakEventManager.ListenerList Methods
.NET Framework 4.5
The WeakEventManager.ListenerList type exposes the following members.
| Name | Description | |
|---|---|---|
|
Add | Adds a IWeakEventListener object to the WeakEventManager.ListenerList. |
|
AddHandler | Adds an event handler to the WeakEventManager.ListenerList. |
|
BeginUse | Declares the list to be in use. This prevents direct changes to the list during iterations of the list items. |
|
Clone | Creates a modifiable clone of this WeakEventManager.ListenerList. |
|
CopyTo | Copies the current WeakEventManager.ListenerList to the specified WeakEventManager.ListenerList |
|
DeliverEvent | Delivers the event being managed to each listener in the WeakEventManager.ListenerList. |
|
EndUse | Unlocks the locked state initiated by BeginUse. |
|
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.) |
|
PrepareForWriting | Checks to see whether the provided list is in use, and if so, sets the list reference parameter to a copy of that list rather than the original. |
|
Purge | Removes all entries from the list where the underlying reference target is a null reference. |
|
Remove | Removes the first occurrence of a listener item from the WeakEventManager.ListenerList. |
|
RemoveHandler | Removes an event handler from the WeakEventManager.ListenerList. |
|
ToString | Returns a string that represents the current object. (Inherited from Object.) |