Edit

Share via


WeakEventManager.ListenerList<TEventArgs> Constructors

Definition

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

Overloads

WeakEventManager.ListenerList<TEventArgs>()

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

WeakEventManager.ListenerList<TEventArgs>(Int32)

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

WeakEventManager.ListenerList<TEventArgs>()

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

public:
 ListenerList();
public ListenerList ();
Public Sub New ()

Applies to

WeakEventManager.ListenerList<TEventArgs>(Int32)

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

public:
 ListenerList(int capacity);
public ListenerList (int capacity);
new System.Windows.WeakEventManager.ListenerList<'EventArgs (requires 'EventArgs :> EventArgs)> : int -> System.Windows.WeakEventManager.ListenerList<'EventArgs (requires 'EventArgs :> EventArgs)>
Public Sub New (capacity As Integer)

Parameters

capacity
Int32

The number of items that should be allocated in the initial list.

Applies to