Summary
Merges to given collections into a discriminated union collection.
Syntax
public static IEnumerable<DiscriminatedUnion<Type1, Type2>> Merge<Type1, Type2>(this IEnumerable<Type1> type1Values, IEnumerable<Type2> type2Values)
Type Parameters
Name |
Description |
Type1 |
Type1 |
Type2 |
Type2 |
Parameters
Name |
Type |
Description |
type1Values |
IEnumerable<Type1> |
a collection to merge |
type2Values |
IEnumerable<Type2> |
a collection to merge |
Return Value
Type |
Description |
IEnumerable<DiscriminatedUnion<Type1, Type2>> |
Discriminated unions of all types. |