Skip to content

M_CodeJam_Threading_ConcurrentLazyDictionary_2__ctor

Andrew Koryavchenko edited this page Jun 17, 2018 · 8 revisions

ConcurrentLazyDictionary(TKey, TValue) Constructor (Func(TKey, TValue))

Initialize instance.

Namespace: CodeJam.Threading
Assembly: CodeJam (in CodeJam.dll) Version: 2.1.0.0

Syntax

C#

public ConcurrentLazyDictionary(
	Func<TKey, TValue> valueFactory
)

VB

Public Sub New ( 
	valueFactory As Func(Of TKey, TValue)
)

F#

new : 
        valueFactory : Func<'TKey, 'TValue> -> ConcurrentLazyDictionary

Parameters

 

valueFactory
Type: System.Func(TKey, TValue)
Function to create value on demand.

See Also

Reference

ConcurrentLazyDictionary(TKey, TValue) Class
ConcurrentLazyDictionary(TKey, TValue) Overload
CodeJam.Threading Namespace

Clone this wiki locally