DiscriminatedUnionListExtensions.

Add<Type1, Type2, Type3, Type4, Type5, Type6, Type7>(List<DiscriminatedUnion<Type1, Type2, Type3, Type4, Type5, Type6, Type7>>, Type1) Method

Summary

Adds the object to the end of the DiscriminatedUnionList

Syntax

public static void Add<Type1, Type2, Type3, Type4, Type5, Type6, Type7>(this List<DiscriminatedUnion<Type1, Type2, Type3, Type4, Type5, Type6, Type7>> values, Type1 item)

Type Parameters

Name Description
Type1
Type2
Type3
Type4
Type5
Type6
Type7

Parameters

Name Type Description
values List<DiscriminatedUnion<Type1, Type2, Type3, Type4, Type5, Type6, Type7>> the List to add the items to.
item Type1

Return Value

Type Description
void