DelegateDictionary Constructor (Func, Func, Action, Func, Func)
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 containsKey As Func(Of TKey, Boolean)
Dim instance As New DelegateDictionary(Of TKey, TVal)(keys, get, set, remove, containsKey)
'Declaration
Public Sub New ( _
keys As Func(Of ICollection(Of TKey)), _
get As Func(Of TKey, TVal), _
set As Action(Of TKey, TVal), _
remove As Func(Of TKey, Boolean), _
containsKey As Func(Of TKey, Boolean) _
)
public DelegateDictionary (
Func<ICollection<TKey>> keys,
Func<TKey,TVal> get,
Action<TKey,TVal> set,
Func<TKey,bool> remove,
Func<TKey,bool> containsKey
)
public:
DelegateDictionary (
Func<ICollection<TKey>^>^ keys,
Func<TKey, TVal>^ get,
Action<TKey, TVal>^ set,
Func<TKey, bool>^ remove,
Func<TKey, bool>^ containsKey
)
public DelegateDictionary (
Func<ICollection<TKey>> keys,
Func<TKey,TVal> get,
Action<TKey,TVal> set,
Func<TKey,boolean> remove,
Func<TKey,boolean> containsKey
)
public function DelegateDictionary (
keys : Func<ICollection<TKey>>,
get : Func<TKey,TVal>,
set : Action<TKey,TVal>,
remove : Func<TKey,boolean>,
containsKey : Func<TKey,boolean>
)
- keys
- get
- set
- remove
- containsKey
DelegateDictionary Generic Class
DelegateDictionary Members
Microsoft.OneGet.Utility.Collections Namespace