Udostępnij za pośrednictwem


IEnumerableExtensions.ToInsensitiveDictionary Method

Definition

Overloads

ToInsensitiveDictionary<TSource,TValue>(IEnumerable<TSource>, Func<TSource,String>, Func<TSource,TValue>)

Creates an insensitive dictionary from an enumerable.

ToInsensitiveDictionary<TValue>(IEnumerable<TValue>, Func<TValue,String>)

Creates an insensitive dictionary from an enumerable.

ToInsensitiveDictionary<TSource,TValue>(IEnumerable<TSource>, Func<TSource,String>, Func<TSource,TValue>)

Creates an insensitive dictionary from an enumerable.

public static Microsoft.Azure.Commands.ResourceManager.Cmdlets.Collections.InsensitiveDictionary<TValue> ToInsensitiveDictionary<TSource,TValue> (this System.Collections.Generic.IEnumerable<TSource> source, Func<TSource,string> keySelector, Func<TSource,TValue> valueSelector);
static member ToInsensitiveDictionary : seq<'Source> * Func<'Source, string> * Func<'Source, 'Value> -> Microsoft.Azure.Commands.ResourceManager.Cmdlets.Collections.InsensitiveDictionary<'Value>
<Extension()>
Public Function ToInsensitiveDictionary(Of TSource, TValue) (source As IEnumerable(Of TSource), keySelector As Func(Of TSource, String), valueSelector As Func(Of TSource, TValue)) As InsensitiveDictionary(Of TValue)

Type Parameters

TSource
TValue

Parameters

source
IEnumerable<TSource>

The enumerable.

keySelector
Func<TSource,String>

The key selector.

valueSelector
Func<TSource,TValue>

The value selector.

Returns

Applies to

ToInsensitiveDictionary<TValue>(IEnumerable<TValue>, Func<TValue,String>)

Creates an insensitive dictionary from an enumerable.

public static Microsoft.Azure.Commands.ResourceManager.Cmdlets.Collections.InsensitiveDictionary<TValue> ToInsensitiveDictionary<TValue> (this System.Collections.Generic.IEnumerable<TValue> source, Func<TValue,string> keySelector);
static member ToInsensitiveDictionary : seq<'Value> * Func<'Value, string> -> Microsoft.Azure.Commands.ResourceManager.Cmdlets.Collections.InsensitiveDictionary<'Value>
<Extension()>
Public Function ToInsensitiveDictionary(Of TValue) (source As IEnumerable(Of TValue), keySelector As Func(Of TValue, String)) As InsensitiveDictionary(Of TValue)

Type Parameters

TValue

Parameters

source
IEnumerable<TValue>

The enumerable.

keySelector
Func<TValue,String>

The key selector.

Returns

Applies to