DictionaryExtensionsToLookupTKey, TValue(DictionaryTKey, TValue) Method
Namespace: Jodosoft.CollectionsAssembly: Jodosoft.Collections (in Jodosoft.Collections.dll) Version: 2.0
public static DictionaryLookup<TKey, TValue> ToLookup<TKey, TValue>(
this Dictionary<TKey, TValue> dictionary
)
<ExtensionAttribute>
Public Shared Function ToLookup(Of TKey, TValue) (
dictionary As Dictionary(Of TKey, TValue)
) As DictionaryLookup(Of TKey, TValue)
public:
[ExtensionAttribute]
generic<typename TKey, typename TValue>
static DictionaryLookup<TKey, TValue>^ ToLookup(
Dictionary<TKey, TValue>^ dictionary
)
[<ExtensionAttribute>]
static member ToLookup :
dictionary : Dictionary<'TKey, 'TValue> -> DictionaryLookup<'TKey, 'TValue>
- dictionary DictionaryTKey, TValue
-
- TKey
- TValue
DictionaryLookupTKey,
TValueIn Visual Basic and C#, you can call this method as an instance method on any object of type
DictionaryTKey,
TValue. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).