DiscriminatedUnionListExtensions.

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

Summary

Adds the object to the end of the DiscriminatedUnionList

Syntax

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

Type Parameters

Name Description
Type1
Type2
Type3
Type4
Type5

Parameters

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

Return Value

Type Description
void