LazyDictionary Constructor (IDictionary, 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 dictionary As IDictionary(Of TKey, TValue)
Dim comparer As IEqualityComparer(Of TKey)
Dim instance As New LazyDictionary(Of TKey, TValue)(dictionary, comparer)
Syntax
'Declaration
Public Sub New ( _
dictionary As IDictionary(Of TKey, TValue), _
comparer As IEqualityComparer(Of TKey) _
)
public LazyDictionary (
IDictionary<TKey,TValue> dictionary,
IEqualityComparer<TKey> comparer
)
public:
LazyDictionary (
IDictionary<TKey, TValue>^ dictionary,
IEqualityComparer<TKey>^ comparer
)
public LazyDictionary (
IDictionary<TKey,TValue> dictionary,
IEqualityComparer<TKey> comparer
)
public function LazyDictionary (
dictionary : IDictionary<TKey,TValue>,
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