-
Notifications
You must be signed in to change notification settings - Fork 36
M_CodeJam_Collections_LazyDictionary_2__ctor_1
andrewvk edited this page Mar 24, 2016
·
9 revisions
[This is preliminary documentation and is subject to change.]
Initialize instance.
Namespace: CodeJam.Collections
Assembly: CodeJam (in CodeJam.dll) Version: 1.0.0.0 (1.0.0.0)
C#
public LazyDictionary(
Func<TKey, TValue> valueFactory,
IEqualityComparer<TKey> comparer
)
VB
Public Sub New (
valueFactory As Func(Of TKey, TValue),
comparer As IEqualityComparer(Of TKey)
)
F#
new :
valueFactory : Func<'TKey, 'TValue> *
comparer : IEqualityComparer<'TKey> -> LazyDictionary
- valueFactory
- Type: System.Func(TKey, TValue)
Function to create value on demand. - comparer
- Type: System.Collections.Generic.IEqualityComparer(TKey)
Key comparer.
LazyDictionary(TKey, TValue) Class
LazyDictionary(TKey, TValue) Overload
CodeJam.Collections Namespace