[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Initializes a new instance of the WeakDictionary<(Of TKey, TValue>) class.

Namespace: net.esper.compat
Assembly:   NEsper (in NEsper.dll)

Syntax

Visual Basic (Declaration)
Public Sub New ( _
	capacity As Integer, _
	comparer As IEqualityComparer(Of TKey) _
)
C#
public WeakDictionary (
	int capacity,
	IEqualityComparer<TKey> comparer
)
Visual C++
public:
WeakDictionary (
	int capacity, 
	IEqualityComparer<TKey>^ comparer
)

Parameters

capacity
System.Int32
The capacity.
comparer
System.Collections.Generic.IEqualityComparer<(Of T>)
The comparer.