This documentation is archived and is not being maintained.

WeakEventManager.ListenerList Methods

The WeakEventManager.ListenerList type exposes the following members.

  NameDescription
Public method Add Adds a listener item to the WeakEventManager.ListenerList.
Public method BeginUse Declares the list to be in use. This prevents direct changes to the list during iterations of the list items.
Public method Clone Creates a modifiable clone of this WeakEventManager.ListenerList, making deep copies of the values.
Public method EndUse Unlocks the locked state initiated by BeginUse.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Static member 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.
Public method Purge Removes all entries from the list where the underlying reference target is a null reference.
Public method Remove Removes the first occurrence of a listener item from the WeakEventManager.ListenerList.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top
Show: