DiscriminatedUnionListExtensions.

AddRange<Type1, Type2, Type3, Type4, Type5, Type6, Type7, Type8, Type9, Type10>(List<DiscriminatedUnion<Type1, Type2, Type3, Type4, Type5, Type6, Type7, Type8, Type9, Type10>>, IEnumerable<Type3>) Method

Summary

Adds a Enumerable of items to the list.

Syntax

public static void AddRange<Type1, Type2, Type3, Type4, Type5, Type6, Type7, Type8, Type9, Type10>(this List<DiscriminatedUnion<Type1, Type2, Type3, Type4, Type5, Type6, Type7, Type8, Type9, Type10>> values, IEnumerable<Type3> collectionToAdd)

Type Parameters

Name Description
Type1
Type2
Type3
Type4
Type5
Type6
Type7
Type8
Type9
Type10

Parameters

Name Type Description
values List<DiscriminatedUnion<Type1, Type2, Type3, Type4, Type5, Type6, Type7, Type8, Type9, Type10>> the List to add the items to.
collectionToAdd IEnumerable<Type3> The items to add.

Return Value

Type Description
void