Interface IDiscriminatedUnionMember<D,V>
-
- Type Parameters:
D- Type of the discriminator that identifies the type of this member.V- Type of the member's value.
- All Known Implementing Classes:
DiscriminatedUnionMember
public interface IDiscriminatedUnionMember<D,V>Represents a member of a discriminated union, in the form of tuples(Discriminator, Value). For example, members ofNumber | Stringare(Number, 0),(Number, 1), or(String, "foo").- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DgetDiscriminator()VgetValue()
-