Share via


LazyDictionary Constructor (IEqualityComparer)

Initializes a new instance of the LazyDictionary Class.Initializes a new instance of the LazyDictionary Class.

Namespace: Microsoft.WindowsAzure.Common.Internals
Assembly: Microsoft.WindowsAzure.Common (in Microsoft.WindowsAzure.Common.dll)

Usage

'Usage
Dim comparer As IEqualityComparer(Of TKey)

Dim instance As New LazyDictionary(Of TKey, TValue)(comparer)

Syntax

'Declaration
Public Sub New ( _
    comparer As IEqualityComparer(Of TKey) _
)
public LazyDictionary (
    IEqualityComparer<TKey> comparer
)
public:
LazyDictionary (
    IEqualityComparer<TKey>^ comparer
)
public LazyDictionary (
    IEqualityComparer<TKey> comparer
)
public function LazyDictionary (
    comparer : IEqualityComparer<TKey>
)

Remarks

The default constructor initializes any fields to their default values.

Platforms

Development Platforms

Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012

Target Platforms

See Also

Reference

LazyDictionary Class
LazyDictionary Members
Microsoft.WindowsAzure.Common.Internals Namespace