Class TupleDataModel
Represents the data model for a tuple type.
public sealed class TupleDataModel : TypeDataModel
- Inheritance
-
TupleDataModel
- Inherited Members
Properties
Elements
The list of elements in the tuple. Tuples with more than 8 elements are flattened to a single list.
public required ImmutableArray<PropertyDataModel> Elements { get; init; }
Property Value
IsValueTuple
Specifies whether the type is a ValueTuple or a Tuple.
public required bool IsValueTuple { get; init; }
Property Value
Kind
Determines the type of TypeDataModel being used.
public override TypeDataKind Kind { get; }