ReadOnlyDelegateDictionary Constructor

This element is introduced in Windows PowerShell 5.0.


Namespace: Microsoft.OneGet.Utility.Collections
Assembly: Microsoft.OneGet.Utility (in Microsoft.OneGet.Utility.dll)

'Usage
Dim keys As Func(Of ICollection(Of TKey))
Dim get As Func(Of TKey, TVal)

Dim instance As New ReadOnlyDelegateDictionary(Of TKey, TVal)(keys, get)

public ReadOnlyDelegateDictionary (
	Func<ICollection<TKey>> keys,
	Func<TKey,TVal> get
)
public ReadOnlyDelegateDictionary (
	Func<ICollection<TKey>> keys, 
	Func<TKey,TVal> get
)
public function ReadOnlyDelegateDictionary (
	keys : Func<ICollection<TKey>>, 
	get : Func<TKey,TVal>
)

Parameters

keys

get

 

Target Platforms


Show: