Skip to content

M_CodeJam_Collections_LazyDictionary_2__ctor

andrewvk edited this page Mar 24, 2016 · 9 revisions

LazyDictionary(TKey, TValue) Constructor (Func(TKey, TValue))

[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)

Syntax

C#

public LazyDictionary(
	Func<TKey, TValue> valueFactory
)

VB

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

F#

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

Parameters

 

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

See Also

Reference

LazyDictionary(TKey, TValue) Class
LazyDictionary(TKey, TValue) Overload
CodeJam.Collections Namespace

Clone this wiki locally