DiscriminatedUnionListExtensions.

AddRange<Type1, Type2, Type3>(List<DiscriminatedUnion<Type1, Type2, Type3>>, IEnumerable<Type2>) Method

Summary

Adds a Enumerable of items to the list.

Syntax

public static void AddRange<Type1, Type2, Type3>(this List<DiscriminatedUnion<Type1, Type2, Type3>> values, IEnumerable<Type2> collectionToAdd)

Type Parameters

Name Description
Type1
Type2
Type3

Parameters

Name Type Description
values List<DiscriminatedUnion<Type1, Type2, Type3>> the List to add the items to.
collectionToAdd IEnumerable<Type2> The items to add.

Return Value

Type Description
void