DiscriminatedUnionIEnumerableExtensions.

Merge<Type1, Type2, Type3, Type4, Type5, Type6, Type7, Type8, Type9>(IEnumerable<Type1>, IEnumerable<Type2>, IEnumerable<Type3>, IEnumerable<Type4>, IEnumerable<Type5>, IEnumerable<Type6>, IEnumerable<Type7>, IEnumerable<Type8>, IEnumerable<Type9>) Method

Summary

Merges to given collections into a discriminated union collection.

Syntax

public static IEnumerable<DiscriminatedUnion<Type1, Type2, Type3, Type4, Type5, Type6, Type7, Type8, Type9>> Merge<Type1, Type2, Type3, Type4, Type5, Type6, Type7, Type8, Type9>(this IEnumerable<Type1> type1Values, IEnumerable<Type2> type2Values, IEnumerable<Type3> type3Values, IEnumerable<Type4> type4Values, IEnumerable<Type5> type5Values, IEnumerable<Type6> type6Values, IEnumerable<Type7> type7Values, IEnumerable<Type8> type8Values, IEnumerable<Type9> type9Values)

Type Parameters

Name Description
Type1 Type1
Type2 Type2
Type3 Type3
Type4 Type4
Type5 Type5
Type6 Type6
Type7 Type7
Type8 Type8
Type9 Type9

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
type6Values IEnumerable<Type6> a collection to merge
type7Values IEnumerable<Type7> a collection to merge
type8Values IEnumerable<Type8> a collection to merge
type9Values IEnumerable<Type9> a collection to merge

Return Value

Type Description
IEnumerable<DiscriminatedUnion<Type1, Type2, Type3, Type4, Type5, Type6, Type7, Type8, Type9>> Discriminated unions of all types.