record class · System

Tuple<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16>

public record class Tuple<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16> : IToString, IHashable<Tuple<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16>>

16 items in an object: Item1…Item16, fixed when it is made.

Tipo
record class
Espacio de nombres
System
Ensamblado
System.Core
Acceso
public, record
Archivo fuente
Tuples.ant

Parámetros de tipo

NombreRestricciones
T1cualquier tipo
T2cualquier tipo
T3cualquier tipo
T4cualquier tipo
T5cualquier tipo
T6cualquier tipo
T7cualquier tipo
T8cualquier tipo
T9cualquier tipo
T10cualquier tipo
T11cualquier tipo
T12cualquier tipo
T13cualquier tipo
T14cualquier tipo
T15cualquier tipo
T16cualquier tipo

Herencia

Clases base
Any Tuple<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16>
Interfaces
IToString IHashable<TSelf>

Constructores

new(T1 Item1, T2 Item2, T3 Item3, T4 Item4, T5 Item5, T6 Item6, T7 Item7, T8 Item8, T9 Item9, T10 Item10, T11 Item11, T12 Item12, T13 Item13, T14 Item14, T15 Item15, T16 Item16)
#

Métodos

ToValueTuple() : (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16)
#

The same items in a ValueTuple.

override ToString() : str
#

override

override Hash() : u64
#

override

Equals(Tuple<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16> other) : bool
#

Campos

readonly T1 Item1
#
readonly T2 Item2
#
readonly T3 Item3
#
readonly T4 Item4
#
readonly T5 Item5
#
readonly T6 Item6
#
readonly T7 Item7
#
readonly T8 Item8
#
readonly T9 Item9
#
readonly T10 Item10
#
readonly T11 Item11
#
readonly T12 Item12
#
readonly T13 Item13
#
readonly T14 Item14
#
readonly T15 Item15
#
readonly T16 Item16
#

Miembros heredados (3)

Código fuente

Tuple<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16> en Antril, descompilado a partir de su Larva HIR.

System.Tuple`16.ant
// System.Tuple — System.Core (decompiled from Larva HIR)

into namespace System
{
	/// 16 items in an object: Item1…Item16, fixed when it is made.
	public record class Tuple<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16> : IToString, IHashable<Tuple<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16>>
	{
		public:
			readonly T1 Item1;
			readonly T2 Item2;
			readonly T3 Item3;
			readonly T4 Item4;
			readonly T5 Item5;
			readonly T6 Item6;
			readonly T7 Item7;
			readonly T8 Item8;
			readonly T9 Item9;
			readonly T10 Item10;
			readonly T11 Item11;
			readonly T12 Item12;
			readonly T13 Item13;
			readonly T14 Item14;
			readonly T15 Item15;
			readonly T16 Item16;

			new(T1 Item1, T2 Item2, T3 Item3, T4 Item4, T5 Item5, T6 Item6, T7 Item7, T8 Item8, T9 Item9, T10 Item10, T11 Item11, T12 Item12, T13 Item13, T14 Item14, T15 Item15, T16 Item16)
			{
				this.Item1 = Item1;
				this.Item2 = Item2;
				this.Item3 = Item3;
				this.Item4 = Item4;
				this.Item5 = Item5;
				this.Item6 = Item6;
				this.Item7 = Item7;
				this.Item8 = Item8;
				this.Item9 = Item9;
				this.Item10 = Item10;
				this.Item11 = Item11;
				this.Item12 = Item12;
				this.Item13 = Item13;
				this.Item14 = Item14;
				this.Item15 = Item15;
				this.Item16 = Item16;
			}

			/// The same items in a ValueTuple.
			ToValueTuple() : (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16)
			{
				return (Item1, Item2, Item3, Item4, Item5, Item6, Item7, Item8, Item9, Item10, Item11, Item12, Item13, Item14, Item15, Item16);
			}
	}
}
Esc