WeakEventManager.ListenerList Methods

WeakEventManager.ListenerList Methods

 

Namespace:   System.Windows
Assembly:  WindowsBase (in WindowsBase.dll)

NameDescription
System_CAPS_pubmethodAdd(IWeakEventListener)
System_CAPS_pubmethodAddHandler(Delegate)

Adds an event handler to the WeakEventManager.ListenerList.

System_CAPS_pubmethodBeginUse()

Declares the list to be in use. This prevents direct changes to the list during iterations of the list items.

System_CAPS_pubmethodClone()

Creates a modifiable clone of this WeakEventManager.ListenerList.

System_CAPS_protmethodCopyTo(WeakEventManager.ListenerList)
System_CAPS_pubmethodDeliverEvent(Object, EventArgs, Type)

Delivers the event being managed to each listener in the WeakEventManager.ListenerList.

System_CAPS_pubmethodEndUse()

Unlocks the locked state initiated by BeginUse.

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_staticPrepareForWriting(WeakEventManager.ListenerList)

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.

System_CAPS_pubmethodPurge()

Removes all entries from the list where the underlying reference target is a null reference.

System_CAPS_pubmethodRemove(IWeakEventListener)

Removes the first occurrence of a listener item from the WeakEventManager.ListenerList.

System_CAPS_pubmethodRemoveHandler(Delegate)

Removes an event handler from the WeakEventManager.ListenerList.

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

Return to top
Show:
© 2016 Microsoft