Extension methods for collections
CollectionExtensions
01 Syntax
Emily.eQuilibrator.Core.Extensions.CollectionExtensions
02 Methods
| Name | Overloads | Summary |
|---|---|---|
| ToDictionary | 1 | Creates a dictionary from a sequence of key-value pairs |
| AddRange | 1 | Adds all items from another collection |
| GetValueOrDefault | 1 | Gets a value or default if not found |
| ToDictionary | 1 | |
| AddRange | 1 | |
| GetValueOrDefault | 1 |
03 Members
ToDictionary``2(
IEnumerable(Of ValueTuple(Of ``0, ``1)))Creates a dictionary from a sequence of key-value pairs
AddRange``1(
ICollection(Of ``0), IEnumerable(Of ``0))Adds all items from another collection
GetValueOrDefault``2(
IReadOnlyDictionary(Of ``0, ``1), ``0, ``1)Gets a value or default if not found
ToDictionary(
IEnumerable(Of ValueTuple(Of TKey, TValue)))AddRange(
ICollection(Of T), IEnumerable(Of T))GetValueOrDefault(
IReadOnlyDictionary(Of TKey, TValue), TKey, TValue)