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