WeakEventManager.ListenerList<TEventArgs> WeakEventManager.ListenerList<TEventArgs> Class

Definition

Provides a type-safe collection list for storing listeners for a WeakEventManager. This class defines a type parameter for the event data that is used.

protected class WeakEventManager.ListenerList<TEventArgs> : System.Windows.WeakEventManager.ListenerList where TEventArgs : EventArgs
Protected Class WeakEventManager.ListenerList(Of TEventArgs)
Inherits WeakEventManager.ListenerList
Type Parameters
TEventArgs

The type that holds the event data.

Inheritance
System.Windows.WeakEventManager+ListenerListSystem.Windows.WeakEventManager+ListenerList
WeakEventManager.ListenerList<TEventArgs>WeakEventManager.ListenerList<TEventArgs>

Constructors

WeakEventManager.ListenerList<TEventArgs>() WeakEventManager.ListenerList<TEventArgs>()

Initializes a new instance of the WeakEventManager.ListenerList<TEventArgs> class.

WeakEventManager.ListenerList<TEventArgs>(Int32) WeakEventManager.ListenerList<TEventArgs>(Int32)

Initializes a new instance of the WeakEventManager.ListenerList<TEventArgs> class with the specified initial capacity.

Methods

Clone() Clone()

Creates a modifiable clone of this WeakEventManager.ListenerList, making deep copies of the values.

DeliverEvent(Object, EventArgs, Type) DeliverEvent(Object, EventArgs, Type)

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

Applies to