DelegateDictionary Constructor (Func, Func, Action, Func, Action)

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 set As Action(Of TKey, TVal)
Dim remove As Func(Of TKey, Boolean)
Dim clear As Action

Dim instance As New DelegateDictionary(Of TKey, TVal)(keys, get, set, remove, clear)

public DelegateDictionary (
	Func<ICollection<TKey>> keys,
	Func<TKey,TVal> get,
	Action<TKey,TVal> set,
	Func<TKey,bool> remove,
	Action clear
)
public DelegateDictionary (
	Func<ICollection<TKey>> keys, 
	Func<TKey,TVal> get, 
	Action<TKey,TVal> set, 
	Func<TKey,boolean> remove, 
	Action clear
)
public function DelegateDictionary (
	keys : Func<ICollection<TKey>>, 
	get : Func<TKey,TVal>, 
	set : Action<TKey,TVal>, 
	remove : Func<TKey,boolean>, 
	clear : Action
)

Parameters

keys

get

set

remove

clear

 

Target Platforms


Show: