Summary
Adds a Enumerable of items to the list.
- Namespace
- FunctionalSharp
.DiscriminatedUnions - Containing Type
- Discriminated
Union List Extensions
Syntax
public static void AddRange<Type1, Type2, Type3, Type4>(this List<DiscriminatedUnion<Type1, Type2, Type3, Type4>> values, IEnumerable<Type1> collectionToAdd)
Type Parameters
Name | Description |
---|---|
Type1 | |
Type2 | |
Type3 | |
Type4 |
Parameters
Name | Type | Description |
---|---|---|
values | List |
the List to add the items to. |
collectionToAdd | IEnumerable |
The items to add. |
Return Value
Type | Description |
---|---|
void |