DiscriminatedUnionWithBaseList<Type1, Type2, Type3, Type4, Type5, Type6, Type7, Type8, BaseType>.

Merge<TypeToMerge>(IEnumerable<TypeToMerge>) Method

Summary

Merges a type into the existing discriminated union list.

Syntax

public DiscriminatedUnionWithBaseList<Type1, Type2, Type3, Type4, Type5, Type6, Type7, Type8, TypeToMerge, BaseType> Merge<TypeToMerge>(IEnumerable<TypeToMerge> toMerge) 
    where TypeToMerge : BaseType

Type Parameters

Name Description
TypeToMerge The type of the items to merge.

Parameters

Name Type Description
toMerge IEnumerable<TypeToMerge> The Items to merge.

Return Value

Type Description
DiscriminatedUnionWithBaseList<Type1, Type2, Type3, Type4, Type5, Type6, Type7, Type8, TypeToMerge, BaseType>