Edytuj

Udostępnij za pośrednictwem


FrozenDictionary Class

Definition

Provides a set of initialization methods for instances of the FrozenDictionary<TKey,TValue> class.

public ref class FrozenDictionary abstract sealed
public static class FrozenDictionary
type FrozenDictionary = class
Public Module FrozenDictionary
Inheritance
FrozenDictionary

Methods

ToFrozenDictionary<TKey,TValue>(IEnumerable<KeyValuePair<TKey,TValue>>, IEqualityComparer<TKey>)

Creates a FrozenDictionary<TKey,TValue> with the specified key/value pairs.

ToFrozenDictionary<TSource,TKey,TElement>(IEnumerable<TSource>, Func<TSource,TKey>, Func<TSource,TElement>, IEqualityComparer<TKey>)

Creates a FrozenDictionary<TKey,TValue> from an IEnumerable<T> according to specified key selector and element selector functions.

ToFrozenDictionary<TSource,TKey>(IEnumerable<TSource>, Func<TSource,TKey>, IEqualityComparer<TKey>)

Creates a FrozenDictionary<TKey,TValue> from an IEnumerable<T> according to specified key selector function.

Applies to