IEnumerableExtensions.ToInsensitiveDictionary Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
- 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.