LookupExtensionsToReadOnlyLookupTKey, TValue(IReadOnlyDictionaryTKey, TValue) Method

Definition

Namespace: Jodosoft.Collections
Assembly: Jodosoft.Collections (in Jodosoft.Collections.dll) Version: 2.0
public static IReadOnlyLookup<TKey, TValue> ToReadOnlyLookup<TKey, TValue>(
	this IReadOnlyDictionary<TKey, TValue> dictionary
)

Parameters

dictionary  IReadOnlyDictionaryTKey, TValue
 

Type Parameters

TKey
TValue

Return Value

IReadOnlyLookupTKey, TValue

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IReadOnlyDictionaryTKey, 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).

See Also