CoreUtilsCreatePairsFromSubSetDictionariesTKey, TValue Method |
Creates a new set of pairs where the values of a key in both subset1 and subset2 are combined as a pair. Keys which are present only in subset1 or
only in subset2 are ignored.
Namespace:
SD.LLBLGen.Pro.Core
Assembly:
SD.LLBLGen.Pro.Core (in SD.LLBLGen.Pro.Core.dll) Version: 5.1.0.0 (5.1.0)
Syntax public static List<Pair<TValue, TValue>> CreatePairsFromSubSetDictionaries<TKey, TValue>(
Dictionary<TKey, TValue> subset1,
Dictionary<TKey, TValue> subset2
)
Public Shared Function CreatePairsFromSubSetDictionaries(Of TKey, TValue) (
subset1 As Dictionary(Of TKey, TValue),
subset2 As Dictionary(Of TKey, TValue)
) As List(Of Pair(Of TValue, TValue))
Parameters
- subset1
- Type: System.Collections.GenericDictionaryTKey, TValue
The subset1. - subset2
- Type: System.Collections.GenericDictionaryTKey, TValue
The subset2.
Type Parameters
- TKey
- The type of the key.
- TValue
- The type of the value.
Return Value
Type:
ListPairTValue,
TValueSee Also