Summary
Adds the object to the end of the DiscriminatedUnionList
- Namespace
- FunctionalSharp
.DiscriminatedUnions - Containing Type
- Discriminated
Union List Extensions
Syntax
public static void Add<Type1, Type2>(this List<DiscriminatedUnion<Type1, Type2>> values, Type2 item)
Type Parameters
Name | Description |
---|---|
Type1 | |
Type2 |
Parameters
Name | Type | Description |
---|---|---|
values | List |
the List to add the items to. |
item | Type2 |
Return Value
Type | Description |
---|---|
void |