Summary
Represents a list of Discriminated unions. Using this list you can add items without having to specify the union type.
- Namespace
- FunctionalSharp
.DiscriminatedUnions - Interfaces
-
- IList
< Discriminated Union <Type1, Type2, Type3, Type4, Type5, Type6, Type7> > - ICollection
< Discriminated Union <Type1, Type2, Type3, Type4, Type5, Type6, Type7> > - IList
- ICollection
- IReadOnlyList
< Discriminated Union <Type1, Type2, Type3, Type4, Type5, Type6, Type7> > - IReadOnlyCollection
< Discriminated Union <Type1, Type2, Type3, Type4, Type5, Type6, Type7> > - IEnumerable
< Discriminated Union <Type1, Type2, Type3, Type4, Type5, Type6, Type7> > - IEnumerable
- IList
- Base Types
-
- object
- List
< Discriminated Union <Type1, Type2, Type3, Type4, Type5, Type6, Type7> >
graph TD
Base0["List<DiscriminatedUnion<Type1, Type2, Type3, Type4, Type5, Type6, Type7>>"]-->Type
Base1["object"]-->Base0
Interface0["IList<DiscriminatedUnion<Type1, Type2, Type3, Type4, Type5, Type6, Type7>>"]-.->Type
Interface1["ICollection<DiscriminatedUnion<Type1, Type2, Type3, Type4, Type5, Type6, Type7>>"]-.->Type
Interface2["IList"]-.->Type
Interface3["ICollection"]-.->Type
Interface4["IReadOnlyList<DiscriminatedUnion<Type1, Type2, Type3, Type4, Type5, Type6, Type7>>"]-.->Type
Interface5["IReadOnlyCollection<DiscriminatedUnion<Type1, Type2, Type3, Type4, Type5, Type6, Type7>>"]-.->Type
Interface6["IEnumerable<DiscriminatedUnion<Type1, Type2, Type3, Type4, Type5, Type6, Type7>>"]-.->Type
Interface7["IEnumerable"]-.->Type
Type["DiscriminatedUnionList<Type1, Type2, Type3, Type4, Type5, Type6, Type7>"]
class Type type-node
Syntax
[Serializable]
public class DiscriminatedUnionList<Type1, Type2, Type3, Type4, Type5, Type6, Type7> :
List<DiscriminatedUnion<Type1, Type2, Type3, Type4, Type5, Type6, Type7>>,
IList<DiscriminatedUnion<Type1, Type2, Type3, Type4, Type5, Type6, Type7>>,
ICollection<DiscriminatedUnion<Type1, Type2, Type3, Type4, Type5, Type6, Type7>>, IList,
ICollection,
IReadOnlyList<DiscriminatedUnion<Type1, Type2, Type3, Type4, Type5, Type6, Type7>>,
IReadOnlyCollection<DiscriminatedUnion<Type1, Type2, Type3, Type4, Type5, Type6, Type7>>,
IEnumerable<DiscriminatedUnion<Type1, Type2, Type3, Type4, Type5, Type6, Type7>>, IEnumerable
Attributes
Type | Description |
---|---|
Serializable |
Type Parameters
Name | Description |
---|---|
Type1 | Type1 |
Type2 | Type2 |
Type3 | Type3 |
Type4 | Type4 |
Type5 | Type5 |
Type6 | Type6 |
Type7 | Type7 |
Methods
Name | Value | Summary |
---|---|---|
Add |
void |
Adds the object to the end of the DiscriminatedUnionList
|
Add |
void |
Adds the object to the end of the DiscriminatedUnionList
|
Add |
void |
Adds the object to the end of the DiscriminatedUnionList
|
Add |
void |
Adds the object to the end of the DiscriminatedUnionList
|
Add |
void |
Adds the object to the end of the DiscriminatedUnionList
|
Add |
void |
Adds the object to the end of the DiscriminatedUnionList
|
Add |
void |
Adds the object to the end of the DiscriminatedUnionList
|
AddRange |
void |
Adds the object to the end of the DiscriminatedUnionList
|
AddRange |
void |
Adds the object to the end of the DiscriminatedUnionList
|
AddRange |
void |
Adds the object to the end of the DiscriminatedUnionList
|
AddRange |
void |
Adds the object to the end of the DiscriminatedUnionList
|
AddRange |
void |
Adds the object to the end of the DiscriminatedUnionList
|
AddRange |
void |
Adds the object to the end of the DiscriminatedUnionList
|
AddRange |
void |
Adds the object to the end of the DiscriminatedUnionList
|
Merge |
Discriminated |
Merges a type into the existing discriminated union list.
|