-
Notifications
You must be signed in to change notification settings - Fork 35
M_CodeJam_Threading_ConcurrentLazyDictionary_2__ctor_1
Andrew Koryavchenko edited this page Jun 17, 2018
·
7 revisions
Initialize instance.
Namespace: CodeJam.Threading
Assembly: CodeJam (in CodeJam.dll) Version: 2.1.0.0
C#
public ConcurrentLazyDictionary(
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> -> ConcurrentLazyDictionary
- valueFactory
- Type: System.Func(TKey, TValue)
Function to create value on demand. - comparer
- Type: System.Collections.Generic.IEqualityComparer(TKey)
Key comparer.
ConcurrentLazyDictionary(TKey, TValue) Class
ConcurrentLazyDictionary(TKey, TValue) Overload
CodeJam.Threading Namespace