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