DiscriminatedUnionListExtensions.

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

Summary

Adds the object to the end of the DiscriminatedUnionList

Syntax

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

Type Parameters

Name Description
Type1
Type2
Type3
Type4

Parameters

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

Return Value

Type Description
void