mscorlib(4.0.0.0) API with additions
System.TupleExtensions Class Reference

Provides extension methods for tuples to interoperate with language support for tuples in C#. More...

Static Public Member Functions

static void Deconstruct< T1 > (this Tuple< T1 > value, out T1 item1)
 Deconstructs a tuple with 1 element into a separate variable. More...
 
static void Deconstruct< T1, T2 > (this Tuple< T1, T2 > value, out T1 item1, out T2 item2)
 Deconstructs a tuple with 2 elements into separate variables. More...
 
static void Deconstruct< T1, T2, T3 > (this Tuple< T1, T2, T3 > value, out T1 item1, out T2 item2, out T3 item3)
 Deconstructs a tuple with 3 elements into separate variables. More...
 
static void Deconstruct< T1, T2, T3, T4 > (this Tuple< T1, T2, T3, T4 > value, out T1 item1, out T2 item2, out T3 item3, out T4 item4)
 Deconstructs a tuple with 4 elements into separate variables. More...
 
static void Deconstruct< T1, T2, T3, T4, T5 > (this Tuple< T1, T2, T3, T4, T5 > value, out T1 item1, out T2 item2, out T3 item3, out T4 item4, out T5 item5)
 Deconstructs a tuple with 5 elements into separate variables. More...
 
static void Deconstruct< T1, T2, T3, T4, T5, T6 > (this Tuple< T1, T2, T3, T4, T5, T6 > value, out T1 item1, out T2 item2, out T3 item3, out T4 item4, out T5 item5, out T6 item6)
 Deconstructs a tuple with 6 elements into separate variables. More...
 
static void Deconstruct< T1, T2, T3, T4, T5, T6, T7 > (this Tuple< T1, T2, T3, T4, T5, T6, T7 > value, out T1 item1, out T2 item2, out T3 item3, out T4 item4, out T5 item5, out T6 item6, out T7 item7)
 Deconstructs a tuple with 7 elements into separate variables. More...
 
static void Deconstruct< T1, T2, T3, T4, T5, T6, T7, T8 > (this Tuple< T1, T2, T3, T4, T5, T6, T7, Tuple< T8 >> value, out T1 item1, out T2 item2, out T3 item3, out T4 item4, out T5 item5, out T6 item6, out T7 item7, out T8 item8)
 Deconstructs a tuple with 8 elements into separate variables. More...
 
static void Deconstruct< T1, T2, T3, T4, T5, T6, T7, T8, T9 > (this Tuple< T1, T2, T3, T4, T5, T6, T7, Tuple< T8, T9 >> value, out T1 item1, out T2 item2, out T3 item3, out T4 item4, out T5 item5, out T6 item6, out T7 item7, out T8 item8, out T9 item9)
 Deconstructs a tuple with 9 elements into separate variables. More...
 
static void Deconstruct< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10 > (this Tuple< T1, T2, T3, T4, T5, T6, T7, Tuple< T8, T9, T10 >> value, out T1 item1, out T2 item2, out T3 item3, out T4 item4, out T5 item5, out T6 item6, out T7 item7, out T8 item8, out T9 item9, out T10 item10)
 Deconstructs a tuple with 10 elements into separate variables. More...
 
static void Deconstruct< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11 > (this Tuple< T1, T2, T3, T4, T5, T6, T7, Tuple< T8, T9, T10, T11 >> value, out T1 item1, out T2 item2, out T3 item3, out T4 item4, out T5 item5, out T6 item6, out T7 item7, out T8 item8, out T9 item9, out T10 item10, out T11 item11)
 Deconstructs a tuple with 11 elements into separate variables. More...
 
static void Deconstruct< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12 > (this Tuple< T1, T2, T3, T4, T5, T6, T7, Tuple< T8, T9, T10, T11, T12 >> value, out T1 item1, out T2 item2, out T3 item3, out T4 item4, out T5 item5, out T6 item6, out T7 item7, out T8 item8, out T9 item9, out T10 item10, out T11 item11, out T12 item12)
 Deconstructs a tuple with 12 elements into separate variables. More...
 
static void Deconstruct< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13 > (this Tuple< T1, T2, T3, T4, T5, T6, T7, Tuple< T8, T9, T10, T11, T12, T13 >> value, out T1 item1, out T2 item2, out T3 item3, out T4 item4, out T5 item5, out T6 item6, out T7 item7, out T8 item8, out T9 item9, out T10 item10, out T11 item11, out T12 item12, out T13 item13)
 Deconstructs a tuple with 13 elements into separate variables. More...
 
static void Deconstruct< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14 > (this Tuple< T1, T2, T3, T4, T5, T6, T7, Tuple< T8, T9, T10, T11, T12, T13, T14 >> value, out T1 item1, out T2 item2, out T3 item3, out T4 item4, out T5 item5, out T6 item6, out T7 item7, out T8 item8, out T9 item9, out T10 item10, out T11 item11, out T12 item12, out T13 item13, out T14 item14)
 Deconstructs a tuple with 14 elements into separate variables. More...
 
static void Deconstruct< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15 > (this Tuple< T1, T2, T3, T4, T5, T6, T7, Tuple< T8, T9, T10, T11, T12, T13, T14, Tuple< T15 >>> value, out T1 item1, out T2 item2, out T3 item3, out T4 item4, out T5 item5, out T6 item6, out T7 item7, out T8 item8, out T9 item9, out T10 item10, out T11 item11, out T12 item12, out T13 item13, out T14 item14, out T15 item15)
 Deconstructs a tuple with 15 elements into separate variables. More...
 
static void Deconstruct< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16 > (this Tuple< T1, T2, T3, T4, T5, T6, T7, Tuple< T8, T9, T10, T11, T12, T13, T14, Tuple< T15, T16 >>> value, out T1 item1, out T2 item2, out T3 item3, out T4 item4, out T5 item5, out T6 item6, out T7 item7, out T8 item8, out T9 item9, out T10 item10, out T11 item11, out T12 item12, out T13 item13, out T14 item14, out T15 item15, out T16 item16)
 Deconstructs a tuple with 16 elements into separate variables. More...
 
static void Deconstruct< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17 > (this Tuple< T1, T2, T3, T4, T5, T6, T7, Tuple< T8, T9, T10, T11, T12, T13, T14, Tuple< T15, T16, T17 >>> value, out T1 item1, out T2 item2, out T3 item3, out T4 item4, out T5 item5, out T6 item6, out T7 item7, out T8 item8, out T9 item9, out T10 item10, out T11 item11, out T12 item12, out T13 item13, out T14 item14, out T15 item15, out T16 item16, out T17 item17)
 Deconstructs a tuple with 17 elements into separate variables. More...
 
static void Deconstruct< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18 > (this Tuple< T1, T2, T3, T4, T5, T6, T7, Tuple< T8, T9, T10, T11, T12, T13, T14, Tuple< T15, T16, T17, T18 >>> value, out T1 item1, out T2 item2, out T3 item3, out T4 item4, out T5 item5, out T6 item6, out T7 item7, out T8 item8, out T9 item9, out T10 item10, out T11 item11, out T12 item12, out T13 item13, out T14 item14, out T15 item15, out T16 item16, out T17 item17, out T18 item18)
 Deconstructs a tuple with 18 elements into separate variables. More...
 
static void Deconstruct< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19 > (this Tuple< T1, T2, T3, T4, T5, T6, T7, Tuple< T8, T9, T10, T11, T12, T13, T14, Tuple< T15, T16, T17, T18, T19 >>> value, out T1 item1, out T2 item2, out T3 item3, out T4 item4, out T5 item5, out T6 item6, out T7 item7, out T8 item8, out T9 item9, out T10 item10, out T11 item11, out T12 item12, out T13 item13, out T14 item14, out T15 item15, out T16 item16, out T17 item17, out T18 item18, out T19 item19)
 Deconstructs a tuple with 19 elements into separate variables. More...
 
static void Deconstruct< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20 > (this Tuple< T1, T2, T3, T4, T5, T6, T7, Tuple< T8, T9, T10, T11, T12, T13, T14, Tuple< T15, T16, T17, T18, T19, T20 >>> value, out T1 item1, out T2 item2, out T3 item3, out T4 item4, out T5 item5, out T6 item6, out T7 item7, out T8 item8, out T9 item9, out T10 item10, out T11 item11, out T12 item12, out T13 item13, out T14 item14, out T15 item15, out T16 item16, out T17 item17, out T18 item18, out T19 item19, out T20 item20)
 Deconstructs a tuple with 20 elements into separate variables. More...
 
static void Deconstruct< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21 > (this Tuple< T1, T2, T3, T4, T5, T6, T7, Tuple< T8, T9, T10, T11, T12, T13, T14, Tuple< T15, T16, T17, T18, T19, T20, T21 >>> value, out T1 item1, out T2 item2, out T3 item3, out T4 item4, out T5 item5, out T6 item6, out T7 item7, out T8 item8, out T9 item9, out T10 item10, out T11 item11, out T12 item12, out T13 item13, out T14 item14, out T15 item15, out T16 item16, out T17 item17, out T18 item18, out T19 item19, out T20 item20, out T21 item21)
 Deconstructs a tuple with 21 elements into separate variables. More...
 
static ValueTuple< T1ToValueTuple< T1 > (this Tuple< T1 > value)
 Converts an instance of the Tuple class to an instance of the ValueTuple structure. More...
 
static Tuple< T1ToTuple< T1 > (this ValueTuple< T1 > value)
 Converts an instance of the ValueTuple structure to an instance of the Tuple class. More...
 
static Tuple< T1, T2 > ToTuple< T1, T2 > (this(T1, T2) value)
 
static Tuple< T1, T2, T3 > ToTuple< T1, T2, T3 > (this(T1, T2, T3) value)
 
static Tuple< T1, T2, T3, T4 > ToTuple< T1, T2, T3, T4 > (this(T1, T2, T3, T4) value)
 
static Tuple< T1, T2, T3, T4, T5 > ToTuple< T1, T2, T3, T4, T5 > (this(T1, T2, T3, T4, T5) value)
 
static Tuple< T1, T2, T3, T4, T5, T6 > ToTuple< T1, T2, T3, T4, T5, T6 > (this(T1, T2, T3, T4, T5, T6) value)
 
static Tuple< T1, T2, T3, T4, T5, T6, T7 > ToTuple< T1, T2, T3, T4, T5, T6, T7 > (this(T1, T2, T3, T4, T5, T6, T7) value)
 
static Tuple< T1, T2, T3, T4, T5, T6, T7, Tuple< T8 > > ToTuple< T1, T2, T3, T4, T5, T6, T7, T8 > (this(T1, T2, T3, T4, T5, T6, T7, T8) value)
 
static Tuple< T1, T2, T3, T4, T5, T6, T7, Tuple< T8, T9 > > ToTuple< T1, T2, T3, T4, T5, T6, T7, T8, T9 > (this(T1, T2, T3, T4, T5, T6, T7, T8, T9) value)
 
static Tuple< T1, T2, T3, T4, T5, T6, T7, Tuple< T8, T9, T10 > > ToTuple< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10 > (this(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10) value)
 
static Tuple< T1, T2, T3, T4, T5, T6, T7, Tuple< T8, T9, T10, T11 > > ToTuple< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11 > (this(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) value)
 
static Tuple< T1, T2, T3, T4, T5, T6, T7, Tuple< T8, T9, T10, T11, T12 > > ToTuple< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12 > (this(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) value)
 
static Tuple< T1, T2, T3, T4, T5, T6, T7, Tuple< T8, T9, T10, T11, T12, T13 > > ToTuple< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13 > (this(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13) value)
 
static Tuple< T1, T2, T3, T4, T5, T6, T7, Tuple< T8, T9, T10, T11, T12, T13, T14 > > ToTuple< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14 > (this(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14) value)
 
static Tuple< T1, T2, T3, T4, T5, T6, T7, Tuple< T8, T9, T10, T11, T12, T13, T14, Tuple< T15 > > > ToTuple< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15 > (this(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15) value)
 
static Tuple< T1, T2, T3, T4, T5, T6, T7, Tuple< T8, T9, T10, T11, T12, T13, T14, Tuple< T15, T16 > > > ToTuple< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16 > (this(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16) value)
 
static Tuple< T1, T2, T3, T4, T5, T6, T7, Tuple< T8, T9, T10, T11, T12, T13, T14, Tuple< T15, T16, T17 > > > ToTuple< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17 > (this(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17) value)
 
static Tuple< T1, T2, T3, T4, T5, T6, T7, Tuple< T8, T9, T10, T11, T12, T13, T14, Tuple< T15, T16, T17, T18 > > > ToTuple< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18 > (this(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18) value)
 
static Tuple< T1, T2, T3, T4, T5, T6, T7, Tuple< T8, T9, T10, T11, T12, T13, T14, Tuple< T15, T16, T17, T18, T19 > > > ToTuple< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19 > (this(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19) value)
 
static Tuple< T1, T2, T3, T4, T5, T6, T7, Tuple< T8, T9, T10, T11, T12, T13, T14, Tuple< T15, T16, T17, T18, T19, T20 > > > ToTuple< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20 > (this(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20) value)
 
static Tuple< T1, T2, T3, T4, T5, T6, T7, Tuple< T8, T9, T10, T11, T12, T13, T14, Tuple< T15, T16, T17, T18, T19, T20, T21 > > > ToTuple< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21 > (this(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21) value)
 

Static Public Attributes

static T1
 Converts an instance of the Tuple class to an instance of the ValueTuple structure. More...
 

Detailed Description

Provides extension methods for tuples to interoperate with language support for tuples in C#.

Definition at line 6 of file TupleExtensions.cs.

Member Function Documentation

◆ Deconstruct< T1 >()

static void System.TupleExtensions.Deconstruct< T1 > ( this Tuple< T1 value,
out T1  item1 
)
static

Deconstructs a tuple with 1 element into a separate variable.

Parameters
valueThe 1-element tuple to deconstruct into a separate variable.
item1The value of the single element.
Template Parameters
T1The type of the single element.

Definition at line 12 of file TupleExtensions.cs.

◆ Deconstruct< T1, T2 >()

static void System.TupleExtensions.Deconstruct< T1, T2 > ( this Tuple< T1, T2 >  value,
out T1  item1,
out T2  item2 
)
static

Deconstructs a tuple with 2 elements into separate variables.

Parameters
valueThe 2-element tuple to deconstruct into 2 separate variables.
item1The value of the first element.
item2The value of the second element.
Template Parameters
T1The type of the first element.
T2The type of the second element.

Definition at line 23 of file TupleExtensions.cs.

◆ Deconstruct< T1, T2, T3 >()

static void System.TupleExtensions.Deconstruct< T1, T2, T3 > ( this Tuple< T1, T2, T3 >  value,
out T1  item1,
out T2  item2,
out T3  item3 
)
static

Deconstructs a tuple with 3 elements into separate variables.

Parameters
valueThe 3-element tuple to deconstruct into 3 separate variables.
item1The value of the first element.
item2The value of the second element.
item3The value of the third element.
Template Parameters
T1The type of the first element.
T2The type of the second element.
T3The type of the third element.

Definition at line 38 of file TupleExtensions.cs.

◆ Deconstruct< T1, T2, T3, T4 >()

static void System.TupleExtensions.Deconstruct< T1, T2, T3, T4 > ( this Tuple< T1, T2, T3, T4 >  value,
out T1  item1,
out T2  item2,
out T3  item3,
out T4  item4 
)
static

Deconstructs a tuple with 4 elements into separate variables.

Parameters
valueThe 4-element tuple to deconstruct into 4 separate variables.
item1The value of the first element.
item2The value of the second element.
item3The value of the third element.
item4The value of the fourth element.
Template Parameters
T1The type of the first element.
T2The type of the second element.
T3The type of the third element.
T4The type of the fourth element.

Definition at line 55 of file TupleExtensions.cs.

◆ Deconstruct< T1, T2, T3, T4, T5 >()

static void System.TupleExtensions.Deconstruct< T1, T2, T3, T4, T5 > ( this Tuple< T1, T2, T3, T4, T5 >  value,
out T1  item1,
out T2  item2,
out T3  item3,
out T4  item4,
out T5  item5 
)
static

Deconstructs a tuple with 5 elements into separate variables.

Parameters
valueThe 5-element tuple to deconstruct into 5 separate variables.
item1The value of the first element.
item2The value of the second element.
item3The value of the third element.
item4The value of the fourth element.
item5The value of the fifth element.
Template Parameters
T1The type of the first element.
T2The type of the second element.
T3The type of the third element.
T4The type of the fourth element.
T5The type of the fifth element.

Definition at line 75 of file TupleExtensions.cs.

◆ Deconstruct< T1, T2, T3, T4, T5, T6 >()

static void System.TupleExtensions.Deconstruct< T1, T2, T3, T4, T5, T6 > ( this Tuple< T1, T2, T3, T4, T5, T6 >  value,
out T1  item1,
out T2  item2,
out T3  item3,
out T4  item4,
out T5  item5,
out T6  item6 
)
static

Deconstructs a tuple with 6 elements into separate variables.

Parameters
valueThe 6-element tuple to deconstruct into 6 separate variables.
item1The value of the first element.
item2The value of the second element.
item3The value of the third element.
item4The value of the fourth element.
item5The value of the fifth element.
item6The value of the sixth element.
Template Parameters
T1The type of the first element.
T2The type of the second element.
T3The type of the third element.
T4The type of the fourth element.
T5The type of the fifth element.
T6The type of the sixth element.

Definition at line 98 of file TupleExtensions.cs.

◆ Deconstruct< T1, T2, T3, T4, T5, T6, T7 >()

static void System.TupleExtensions.Deconstruct< T1, T2, T3, T4, T5, T6, T7 > ( this Tuple< T1, T2, T3, T4, T5, T6, T7 >  value,
out T1  item1,
out T2  item2,
out T3  item3,
out T4  item4,
out T5  item5,
out T6  item6,
out T7  item7 
)
static

Deconstructs a tuple with 7 elements into separate variables.

Parameters
valueThe 7-element tuple to deconstruct into 7 separate variables.
item1The value of the first element.
item2The value of the second element.
item3The value of the third element.
item4The value of the fourth element.
item5The value of the fifth element.
item6The value of the sixth element.
item7The value of the seventh element.
Template Parameters
T1The type of the first element.
T2The type of the second element.
T3The type of the third element.
T4The type of the fourth element.
T5The type of the fifth element.
T6The type of the sixth element.
T7The type of the seventh element.

Definition at line 124 of file TupleExtensions.cs.

◆ Deconstruct< T1, T2, T3, T4, T5, T6, T7, T8 >()

static void System.TupleExtensions.Deconstruct< T1, T2, T3, T4, T5, T6, T7, T8 > ( this Tuple< T1, T2, T3, T4, T5, T6, T7, Tuple< T8 >>  value,
out T1  item1,
out T2  item2,
out T3  item3,
out T4  item4,
out T5  item5,
out T6  item6,
out T7  item7,
out T8  item8 
)
static

Deconstructs a tuple with 8 elements into separate variables.

Parameters
valueThe 8-element tuple to deconstruct into 8 separate variables.
item1The value of the first element.
item2The value of the second element.
item3The value of the third element.
item4The value of the fourth element.
item5The value of the fifth element.
item6The value of the sixth element.
item7The value of the seventh element.
item8The value of the eighth element, or value .Rest.Item1.
Template Parameters
T1The type of the first element.
T2The type of the second element.
T3The type of the third element.
T4The type of the fourth element.
T5The type of the fifth element.
T6The type of the sixth element.
T7The type of the seventh element.
T8The type of the eighth element.

Definition at line 153 of file TupleExtensions.cs.

◆ Deconstruct< T1, T2, T3, T4, T5, T6, T7, T8, T9 >()

static void System.TupleExtensions.Deconstruct< T1, T2, T3, T4, T5, T6, T7, T8, T9 > ( this Tuple< T1, T2, T3, T4, T5, T6, T7, Tuple< T8, T9 >>  value,
out T1  item1,
out T2  item2,
out T3  item3,
out T4  item4,
out T5  item5,
out T6  item6,
out T7  item7,
out T8  item8,
out T9  item9 
)
static

Deconstructs a tuple with 9 elements into separate variables.

Parameters
valueThe 9-element tuple to deconstruct into 9 separate variables.
item1The value of the first element.
item2The value of the second element.
item3The value of the third element.
item4The value of the fourth element.
item5The value of the fifth element.
item6The value of the sixth element.
item7The value of the seventh element.
item8The value of the eighth element, or value .Rest.Item1.
item9The value of the ninth element, or value .Rest.Item2.
Template Parameters
T1The type of the first element.
T2The type of the second element.
T3The type of the third element.
T4The type of the fourth element.
T5The type of the fifth element.
T6The type of the sixth element.
T7The type of the seventh element.
T8The type of the eighth element.
T9The type of the ninth element.

Definition at line 185 of file TupleExtensions.cs.

◆ Deconstruct< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10 >()

static void System.TupleExtensions.Deconstruct< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10 > ( this Tuple< T1, T2, T3, T4, T5, T6, T7, Tuple< T8, T9, T10 >>  value,
out T1  item1,
out T2  item2,
out T3  item3,
out T4  item4,
out T5  item5,
out T6  item6,
out T7  item7,
out T8  item8,
out T9  item9,
out T10  item10 
)
static

Deconstructs a tuple with 10 elements into separate variables.

Parameters
valueThe 10-element tuple to deconstruct into 10 separate variables.
item1The value of the first element.
item2The value of the second element.
item3The value of the third element.
item4The value of the fourth element.
item5The value of the fifth element.
item6The value of the sixth element.
item7The value of the seventh element.
item8The value of the eighth element, or value .Rest.Item1.
item9The value of the ninth element, or value .Rest.Item2.
item10The value of the tenth element, or value .Rest.Item3.
Template Parameters
T1The type of the first element.
T2The type of the second element.
T3The type of the third element.
T4The type of the fourth element.
T5The type of the fifth element.
T6The type of the sixth element.
T7The type of the seventh element.
T8The type of the eighth element.
T9The type of the ninth element.
T10The type of the tenth element.

Definition at line 220 of file TupleExtensions.cs.

◆ Deconstruct< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11 >()

static void System.TupleExtensions.Deconstruct< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11 > ( this Tuple< T1, T2, T3, T4, T5, T6, T7, Tuple< T8, T9, T10, T11 >>  value,
out T1  item1,
out T2  item2,
out T3  item3,
out T4  item4,
out T5  item5,
out T6  item6,
out T7  item7,
out T8  item8,
out T9  item9,
out T10  item10,
out T11  item11 
)
static

Deconstructs a tuple with 11 elements into separate variables.

Parameters
valueThe 11-element tuple to deconstruct into 11 separate variables.
item1The value of the first element.
item2The value of the second element.
item3The value of the third element.
item4The value of the fourth element.
item5The value of the fifth element.
item6The value of the sixth element.
item7The value of the seventh element.
item8The value of the eighth element, or value .Rest.Item1.
item9The value of the ninth element, or value .Rest.Item2.
item10The value of the tenth element, or value .Rest.Item3.
item11The value of the eleventh element, or value .Rest.Item4.
Template Parameters
T1The type of the first element.
T2The type of the second element.
T3The type of the third element.
T4The type of the fourth element.
T5The type of the fifth element.
T6The type of the sixth element.
T7The type of the seventh element.
T8The type of the eighth element.
T9The type of the ninth element.
T10The type of the tenth element.
T11The type of the eleventh element.

Definition at line 258 of file TupleExtensions.cs.

◆ Deconstruct< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12 >()

static void System.TupleExtensions.Deconstruct< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12 > ( this Tuple< T1, T2, T3, T4, T5, T6, T7, Tuple< T8, T9, T10, T11, T12 >>  value,
out T1  item1,
out T2  item2,
out T3  item3,
out T4  item4,
out T5  item5,
out T6  item6,
out T7  item7,
out T8  item8,
out T9  item9,
out T10  item10,
out T11  item11,
out T12  item12 
)
static

Deconstructs a tuple with 12 elements into separate variables.

Parameters
valueThe 12-element tuple to deconstruct into 12 separate variables.
item1The value of the first element.
item2The value of the second element.
item3The value of the third element.
item4The value of the fourth element.
item5The value of the fifth element.
item6The value of the sixth element.
item7The value of the seventh element.
item8The value of the eighth element, or value .Rest.Item1.
item9The value of the ninth element, or value .Rest.Item2.
item10The value of the tenth element, or value .Rest.Item3.
item11The value of the eleventh element, or value .Rest.Item4.
item12The value of the twelfth element, or value .Rest.Item5.
Template Parameters
T1The type of the first element.
T2The type of the second element.
T3The type of the third element.
T4The type of the fourth element.
T5The type of the fifth element.
T6The type of the sixth element.
T7The type of the seventh element.
T8The type of the eighth element.
T9The type of the ninth element.
T10The type of the tenth element.
T11The type of the eleventh element.
T12The type of the twelfth element.

Definition at line 299 of file TupleExtensions.cs.

◆ Deconstruct< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13 >()

static void System.TupleExtensions.Deconstruct< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13 > ( this Tuple< T1, T2, T3, T4, T5, T6, T7, Tuple< T8, T9, T10, T11, T12, T13 >>  value,
out T1  item1,
out T2  item2,
out T3  item3,
out T4  item4,
out T5  item5,
out T6  item6,
out T7  item7,
out T8  item8,
out T9  item9,
out T10  item10,
out T11  item11,
out T12  item12,
out T13  item13 
)
static

Deconstructs a tuple with 13 elements into separate variables.

Parameters
valueThe 13-element tuple to deconstruct into 13 separate variables.
item1The value of the first element.
item2The value of the second element.
item3The value of the third element.
item4The value of the fourth element.
item5The value of the fifth element.
item6The value of the sixth element.
item7The value of the seventh element.
item8The value of the eighth element, or value .Rest.Item1.
item9The value of the ninth element, or value .Rest.Item2.
item10The value of the tenth element, or value .Rest.Item3.
item11The value of the eleventh element, or value .Rest.Item4.
item12The value of the twelfth element, or value .Rest.Item5.
item13The value of the thirteenth element, or value .Rest.Item6.
Template Parameters
T1The type of the first element.
T2The type of the second element.
T3The type of the third element.
T4The type of the fourth element.
T5The type of the fifth element.
T6The type of the sixth element.
T7The type of the seventh element.
T8The type of the eighth element.
T9The type of the ninth element.
T10The type of the tenth element.
T11The type of the eleventh element.
T12The type of the twelfth element.
T13The type of the thirteenth element.

Definition at line 343 of file TupleExtensions.cs.

◆ Deconstruct< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14 >()

static void System.TupleExtensions.Deconstruct< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14 > ( this Tuple< T1, T2, T3, T4, T5, T6, T7, Tuple< T8, T9, T10, T11, T12, T13, T14 >>  value,
out T1  item1,
out T2  item2,
out T3  item3,
out T4  item4,
out T5  item5,
out T6  item6,
out T7  item7,
out T8  item8,
out T9  item9,
out T10  item10,
out T11  item11,
out T12  item12,
out T13  item13,
out T14  item14 
)
static

Deconstructs a tuple with 14 elements into separate variables.

Parameters
valueThe 14-element tuple to deconstruct into 14 separate variables.
item1The value of the first element.
item2The value of the second element.
item3The value of the third element.
item4The value of the fourth element.
item5The value of the fifth element.
item6The value of the sixth element.
item7The value of the seventh element.
item8The value of the eighth element, or value .Rest.Item1.
item9The value of the ninth element, or value .Rest.Item2.
item10The value of the tenth element, or value .Rest.Item3.
item11The value of the eleventh element, or value .Rest.Item4.
item12The value of the twelfth element, or value .Rest.Item5.
item13The value of the thirteenth element, or value .Rest.Item6.
item14The value of the fourteenth element, or value .Rest.Item7.
Template Parameters
T1The type of the first element.
T2The type of the second element.
T3The type of the third element.
T4The type of the fourth element.
T5The type of the fifth element.
T6The type of the sixth element.
T7The type of the seventh element.
T8The type of the eighth element.
T9The type of the ninth element.
T10The type of the tenth element.
T11The type of the eleventh element.
T12The type of the twelfth element.
T13The type of the thirteenth element.
T14The type of the fourteenth element.

Definition at line 390 of file TupleExtensions.cs.

◆ Deconstruct< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15 >()

static void System.TupleExtensions.Deconstruct< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15 > ( this Tuple< T1, T2, T3, T4, T5, T6, T7, Tuple< T8, T9, T10, T11, T12, T13, T14, Tuple< T15 >>>  value,
out T1  item1,
out T2  item2,
out T3  item3,
out T4  item4,
out T5  item5,
out T6  item6,
out T7  item7,
out T8  item8,
out T9  item9,
out T10  item10,
out T11  item11,
out T12  item12,
out T13  item13,
out T14  item14,
out T15  item15 
)
static

Deconstructs a tuple with 15 elements into separate variables.

Parameters
valueThe 15-element tuple to deconstruct into 15 separate variables.
item1The value of the first element.
item2The value of the second element.
item3The value of the third element.
item4The value of the fourth element.
item5The value of the fifth element.
item6The value of the sixth element.
item7The value of the seventh element.
item8The value of the eighth element, or value .Rest.Item1.
item9The value of the ninth element, or value .Rest.Item2.
item10The value of the tenth element, or value .Rest.Item3.
item11The value of the eleventh element, or value .Rest.Item4.
item12The value of the twelfth element, or value .Rest.Item5.
item13The value of the thirteenth element, or value .Rest.Item6.
item14The value of the fourteenth element, or value .Rest.Item7.
item15The value of the fifteenth element, or value .Rest.Rest.Item1 .
Template Parameters
T1The type of the first element.
T2The type of the second element.
T3The type of the third element.
T4The type of the fourth element.
T5The type of the fifth element.
T6The type of the sixth element.
T7The type of the seventh element.
T8The type of the eighth element.
T9The type of the ninth element.
T10The type of the tenth element.
T11The type of the eleventh element.
T12The type of the twelfth element.
T13The type of the thirteenth element.
T14The type of the fourteenth element.
T15The type of the fifteenth element.

Definition at line 440 of file TupleExtensions.cs.

◆ Deconstruct< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16 >()

static void System.TupleExtensions.Deconstruct< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16 > ( this Tuple< T1, T2, T3, T4, T5, T6, T7, Tuple< T8, T9, T10, T11, T12, T13, T14, Tuple< T15, T16 >>>  value,
out T1  item1,
out T2  item2,
out T3  item3,
out T4  item4,
out T5  item5,
out T6  item6,
out T7  item7,
out T8  item8,
out T9  item9,
out T10  item10,
out T11  item11,
out T12  item12,
out T13  item13,
out T14  item14,
out T15  item15,
out T16  item16 
)
static

Deconstructs a tuple with 16 elements into separate variables.

Parameters
valueThe 16-element tuple to deconstruct into 16 separate variables.
item1The value of the first element.
item2The value of the second element.
item3The value of the third element.
item4The value of the fourth element.
item5The value of the fifth element.
item6The value of the sixth element.
item7The value of the seventh element.
item8The value of the eighth element, or value .Rest.Item1.
item9The value of the ninth element, or value .Rest.Item2.
item10The value of the tenth element, or value .Rest.Item3.
item11The value of the eleventh element, or value .Rest.Item4.
item12The value of the twelfth element, or value .Rest.Item5.
item13The value of the thirteenth element, or value .Rest.Item6.
item14The value of the fourteenth element, or value .Rest.Item7.
item15The value of the fifteenth element, or value .Rest.Rest.Item1 .
item16The value of the sixteenth element, or value .Rest.Rest.Item2.
Template Parameters
T1The type of the first element.
T2The type of the second element.
T3The type of the third element.
T4The type of the fourth element.
T5The type of the fifth element.
T6The type of the sixth element.
T7The type of the seventh element.
T8The type of the eighth element.
T9The type of the ninth element.
T10The type of the tenth element.
T11The type of the eleventh element.
T12The type of the twelfth element.
T13The type of the thirteenth element.
T14The type of the fourteenth element.
T15The type of the fifteenth element.
T16The type of the sixteenth element.

Definition at line 493 of file TupleExtensions.cs.

◆ Deconstruct< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17 >()

static void System.TupleExtensions.Deconstruct< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17 > ( this Tuple< T1, T2, T3, T4, T5, T6, T7, Tuple< T8, T9, T10, T11, T12, T13, T14, Tuple< T15, T16, T17 >>>  value,
out T1  item1,
out T2  item2,
out T3  item3,
out T4  item4,
out T5  item5,
out T6  item6,
out T7  item7,
out T8  item8,
out T9  item9,
out T10  item10,
out T11  item11,
out T12  item12,
out T13  item13,
out T14  item14,
out T15  item15,
out T16  item16,
out T17  item17 
)
static

Deconstructs a tuple with 17 elements into separate variables.

Parameters
valueThe 17-element tuple to deconstruct into 17 separate variables.
item1The value of the first element.
item2The value of the second element.
item3The value of the third element.
item4The value of the fourth element.
item5The value of the fifth element.
item6The value of the sixth element.
item7The value of the seventh element.
item8The value of the eighth element, or value .Rest.Item1.
item9The value of the ninth element, or value .Rest.Item2.
item10The value of the tenth element, or value .Rest.Item3.
item11The value of the eleventh element, or value .Rest.Item4.
item12The value of the twelfth element, or value .Rest.Item5.
item13The value of the thirteenth element, or value .Rest.Item6.
item14The value of the fourteenth element, or value .Rest.Item7.
item15The value of the fifteenth element, or value .Rest.Rest.Item1 .
item16The value of the sixteenth element, or value .Rest.Rest.Item2.
item17The value of the seventeenth element, or value .Rest.Rest.Item3.
Template Parameters
T1The type of the first element.
T2The type of the second element.
T3The type of the third element.
T4The type of the fourth element.
T5The type of the fifth element.
T6The type of the sixth element.
T7The type of the seventh element.
T8The type of the eighth element.
T9The type of the ninth element.
T10The type of the tenth element.
T11The type of the eleventh element.
T12The type of the twelfth element.
T13The type of the thirteenth element.
T14The type of the fourteenth element.
T15The type of the fifteenth element.
T16The type of the sixteenth element.
T17The type of the seventeenth element.

Definition at line 549 of file TupleExtensions.cs.

◆ Deconstruct< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18 >()

static void System.TupleExtensions.Deconstruct< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18 > ( this Tuple< T1, T2, T3, T4, T5, T6, T7, Tuple< T8, T9, T10, T11, T12, T13, T14, Tuple< T15, T16, T17, T18 >>>  value,
out T1  item1,
out T2  item2,
out T3  item3,
out T4  item4,
out T5  item5,
out T6  item6,
out T7  item7,
out T8  item8,
out T9  item9,
out T10  item10,
out T11  item11,
out T12  item12,
out T13  item13,
out T14  item14,
out T15  item15,
out T16  item16,
out T17  item17,
out T18  item18 
)
static

Deconstructs a tuple with 18 elements into separate variables.

Parameters
valueThe 18-element tuple to deconstruct into 18 separate variables.
item1The value of the first element.
item2The value of the second element.
item3The value of the third element.
item4The value of the fourth element.
item5The value of the fifth element.
item6The value of the sixth element.
item7The value of the seventh element.
item8The value of the eighth element, or value .Rest.Item1.
item9The value of the ninth element, or value .Rest.Item2.
item10The value of the tenth element, or value .Rest.Item3.
item11The value of the eleventh element, or value .Rest.Item4.
item12The value of the twelfth element, or value .Rest.Item5.
item13The value of the thirteenth element, or value .Rest.Item6.
item14The value of the fourteenth element, or value .Rest.Item7.
item15The value of the fifteenth element, or value .Rest.Rest.Item1 .
item16The value of the sixteenth element, or value .Rest.Rest.Item2.
item17The value of the seventeenth element, or value .Rest.Rest.Item3.
item18The value of the eighteenth element, or value .Rest.Rest.Item4.
Template Parameters
T1The type of the first element.
T2The type of the second element.
T3The type of the third element.
T4The type of the fourth element.
T5The type of the fifth element.
T6The type of the sixth element.
T7The type of the seventh element.
T8The type of the eighth element.
T9The type of the ninth element.
T10The type of the tenth element.
T11The type of the eleventh element.
T12The type of the twelfth element.
T13The type of the thirteenth element.
T14The type of the fourteenth element.
T15The type of the fifteenth element.
T16The type of the sixteenth element.
T17The type of the seventeenth element.
T18The type of the eighteenth element.

Definition at line 608 of file TupleExtensions.cs.

◆ Deconstruct< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19 >()

static void System.TupleExtensions.Deconstruct< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19 > ( this Tuple< T1, T2, T3, T4, T5, T6, T7, Tuple< T8, T9, T10, T11, T12, T13, T14, Tuple< T15, T16, T17, T18, T19 >>>  value,
out T1  item1,
out T2  item2,
out T3  item3,
out T4  item4,
out T5  item5,
out T6  item6,
out T7  item7,
out T8  item8,
out T9  item9,
out T10  item10,
out T11  item11,
out T12  item12,
out T13  item13,
out T14  item14,
out T15  item15,
out T16  item16,
out T17  item17,
out T18  item18,
out T19  item19 
)
static

Deconstructs a tuple with 19 elements into separate variables.

Parameters
valueThe 19-element tuple to deconstruct into 19 separate variables.
item1The value of the first element.
item2The value of the second element.
item3The value of the third element.
item4The value of the fourth element.
item5The value of the fifth element.
item6The value of the sixth element.
item7The value of the seventh element.
item8The value of the eighth element, or value .Rest.Item1.
item9The value of the ninth element, or value .Rest.Item2.
item10The value of the tenth element, or value .Rest.Item3.
item11The value of the eleventh element, or value .Rest.Item4.
item12The value of the twelfth element, or value .Rest.Item5.
item13The value of the thirteenth element, or value .Rest.Item6.
item14The value of the fourteenth element, or value .Rest.Item7.
item15The value of the fifteenth element, or value .Rest.Rest.Item1 .
item16The value of the sixteenth element, or value .Rest.Rest.Item2.
item17The value of the seventeenth element, or value .Rest.Rest.Item3.
item18The value of the eighteenth element, or value .Rest.Rest.Item4.
item19The value of the nineteenth element, or value .Rest.Rest.Item5.
Template Parameters
T1The type of the first element.
T2The type of the second element.
T3The type of the third element.
T4The type of the fourth element.
T5The type of the fifth element.
T6The type of the sixth element.
T7The type of the seventh element.
T8The type of the eighth element.
T9The type of the ninth element.
T10The type of the tenth element.
T11The type of the eleventh element.
T12The type of the twelfth element.
T13The type of the thirteenth element.
T14The type of the fourteenth element.
T15The type of the fifteenth element.
T16The type of the sixteenth element.
T17The type of the seventeenth element.
T18The type of the eighteenth element.
T19The type of the nineteenth element.

Definition at line 670 of file TupleExtensions.cs.

◆ Deconstruct< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20 >()

static void System.TupleExtensions.Deconstruct< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20 > ( this Tuple< T1, T2, T3, T4, T5, T6, T7, Tuple< T8, T9, T10, T11, T12, T13, T14, Tuple< T15, T16, T17, T18, T19, T20 >>>  value,
out T1  item1,
out T2  item2,
out T3  item3,
out T4  item4,
out T5  item5,
out T6  item6,
out T7  item7,
out T8  item8,
out T9  item9,
out T10  item10,
out T11  item11,
out T12  item12,
out T13  item13,
out T14  item14,
out T15  item15,
out T16  item16,
out T17  item17,
out T18  item18,
out T19  item19,
out T20  item20 
)
static

Deconstructs a tuple with 20 elements into separate variables.

Parameters
valueThe 20-element tuple to deconstruct into 20 separate variables.
item1The value of the first element.
item2The value of the second element.
item3The value of the third element.
item4The value of the fourth element.
item5The value of the fifth element.
item6The value of the sixth element.
item7The value of the seventh element.
item8The value of the eighth element, or value .Rest.Item1.
item9The value of the ninth element, or value .Rest.Item2.
item10The value of the tenth element, or value .Rest.Item3.
item11The value of the eleventh element, or value .Rest.Item4.
item12The value of the twelfth element, or value .Rest.Item5.
item13The value of the thirteenth element, or value .Rest.Item6.
item14The value of the fourteenth element, or value .Rest.Item7.
item15The value of the fifteenth element, or value .Rest.Rest.Item1 .
item16The value of the sixteenth element, or value .Rest.Rest.Item2.
item17The value of the seventeenth element, or value .Rest.Rest.Item3.
item18The value of the eighteenth element, or value .Rest.Rest.Item4.
item19The value of the nineteenth element, or value .Rest.Rest.Item5.
item20The value of the twentieth element, or value .Rest.Rest.Item6.
Template Parameters
T1The type of the first element.
T2The type of the second element.
T3The type of the third element.
T4The type of the fourth element.
T5The type of the fifth element.
T6The type of the sixth element.
T7The type of the seventh element.
T8The type of the eighth element.
T9The type of the ninth element.
T10The type of the tenth element.
T11The type of the eleventh element.
T12The type of the twelfth element.
T13The type of the thirteenth element.
T14The type of the fourteenth element.
T15The type of the fifteenth element.
T16The type of the sixteenth element.
T17The type of the seventeenth element.
T18The type of the eighteenth element.
T19The type of the nineteenth element.
T20The type of the twentieth element.

Definition at line 735 of file TupleExtensions.cs.

◆ Deconstruct< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21 >()

static void System.TupleExtensions.Deconstruct< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21 > ( this Tuple< T1, T2, T3, T4, T5, T6, T7, Tuple< T8, T9, T10, T11, T12, T13, T14, Tuple< T15, T16, T17, T18, T19, T20, T21 >>>  value,
out T1  item1,
out T2  item2,
out T3  item3,
out T4  item4,
out T5  item5,
out T6  item6,
out T7  item7,
out T8  item8,
out T9  item9,
out T10  item10,
out T11  item11,
out T12  item12,
out T13  item13,
out T14  item14,
out T15  item15,
out T16  item16,
out T17  item17,
out T18  item18,
out T19  item19,
out T20  item20,
out T21  item21 
)
static

Deconstructs a tuple with 21 elements into separate variables.

Parameters
valueThe 21-element tuple to deconstruct into 21 separate variables.
item1The value of the first element.
item2The value of the second element.
item3The value of the third element.
item4The value of the fourth element.
item5The value of the fifth element.
item6The value of the sixth element.
item7The value of the seventh element.
item8The value of the eighth element, or value .Rest.Item1.
item9The value of the ninth element, or value .Rest.Item2.
item10The value of the tenth element, or value .Rest.Item3.
item11The value of the eleventh element, or value .Rest.Item4.
item12The value of the twelfth element, or value .Rest.Item5.
item13The value of the thirteenth element, or value .Rest.Item6.
item14The value of the fourteenth element, or value .Rest.Item7.
item15The value of the fifteenth element, or value .Rest.Rest.Item1 .
item16The value of the sixteenth element, or value .Rest.Rest.Item2.
item17The value of the seventeenth element, or value .Rest.Rest.Item3.
item18The value of the eighteenth element, or value .Rest.Rest.Item4.
item19The value of the nineteenth element, or value .Rest.Rest.Item5.
item20The value of the twentieth element, or value .Rest.Rest.Item6.
item21The value of the twenty-first element, or value .Rest.Rest.Item7.
Template Parameters
T1The type of the first element.
T2The type of the second element.
T3The type of the third element.
T4The type of the fourth element.
T5The type of the fifth element.
T6The type of the sixth element.
T7The type of the seventh element.
T8The type of the eighth element.
T9The type of the ninth element.
T10The type of the tenth element.
T11The type of the eleventh element.
T12The type of the twelfth element.
T13The type of the thirteenth element.
T14The type of the fourteenth element.
T15The type of the fifteenth element.
T16The type of the sixteenth element.
T17The type of the seventeenth element.
T18The type of the eighteenth element.
T19The type of the nineteenth element.
T20The type of the twentieth element.
T21The type of the twenty-first element.

Definition at line 803 of file TupleExtensions.cs.

◆ ToTuple< T1 >()

static Tuple<T1> System.TupleExtensions.ToTuple< T1 > ( this ValueTuple< T1 value)
static

Converts an instance of the ValueTuple structure to an instance of the Tuple class.

Parameters
valueThe value tuple instance to convert to a tuple.
Template Parameters
T1The type of the first element.
Returns
The converted tuple.

Definition at line 1231 of file TupleExtensions.cs.

◆ ToValueTuple< T1 >()

static ValueTuple<T1> System.TupleExtensions.ToValueTuple< T1 > ( this Tuple< T1 value)
static

Converts an instance of the Tuple class to an instance of the ValueTuple structure.

Parameters
valueThe tuple object to convert to a value tuple
Template Parameters
T1The type of the first element.
Returns
The converted value tuple instance.

Definition at line 832 of file TupleExtensions.cs.

Member Data Documentation

◆ T1

static System.TupleExtensions.T1
static

Converts an instance of the Tuple class to an instance of the ValueTuple structure.

Parameters
valueThe tuple object to convert to a value tuple
Template Parameters
T1The type of the first element.
T2The type of the second element.
Returns
The converted value tuple instance.
Parameters
valueThe tuple object to convert to a value tuple
Template Parameters
T1The type of the first element.
T2The type of the second element.
T3The type of the third element.
Returns
The converted value tuple instance.
Parameters
valueThe tuple object to convert to a value tuple
Template Parameters
T1The type of the first element.
T2The type of the second element.
T3The type of the third element.
T4The type of the fourth element.
Returns
The converted value tuple instance.
Parameters
valueThe tuple object to convert to a value tuple
Template Parameters
T1The type of the first element.
T2The type of the second element.
T3The type of the third element.
T4The type of the fourth element.
T5The type of the fifth element.
Returns
The converted value tuple instance.
Parameters
valueThe tuple object to convert to a value tuple
Template Parameters
T1The type of the first element.
T2The type of the second element.
T3The type of the third element.
T4The type of the fourth element.
T5The type of the fifth element.
T6The type of the sixth element.
Returns
The converted value tuple instance.
Parameters
valueThe tuple object to convert to a value tuple
Template Parameters
T1The type of the first element.
T2The type of the second element.
T3The type of the third element.
T4The type of the fourth element.
T5The type of the fifth element.
T6The type of the sixth element.
T7The type of the seventh element.
Returns
The converted value tuple instance.
Parameters
valueThe tuple object to convert to a value tuple
Template Parameters
T1The type of the first element.
T2The type of the second element.
T3The type of the third element.
T4The type of the fourth element.
T5The type of the fifth element.
T6The type of the sixth element.
T7The type of the seventh element.
T8The type of the eighth element, or value .Rest.Item1.
Returns
The converted value tuple instance.
Parameters
valueThe tuple object to convert to a value tuple
Template Parameters
T1The type of the first element.
T2The type of the second element.
T3The type of the third element.
T4The type of the fourth element.
T5The type of the fifth element.
T6The type of the sixth element.
T7The type of the seventh element.
T8The type of the eighth element, or value .Rest.Item1.
T9The type of the ninth element, or value .Rest.Item2.
Returns
The converted value tuple instance.
Parameters
valueThe tuple object to convert to a value tuple
Template Parameters
T1The type of the first element.
T2The type of the second element.
T3The type of the third element.
T4The type of the fourth element.
T5The type of the fifth element.
T6The type of the sixth element.
T7The type of the seventh element.
T8The type of the eighth element, or value .Rest.Item1.
T9The type of the ninth element, or value .Rest.Item2.
T10The type of the tenth element, or value .Rest.Item3.
Returns
The converted value tuple instance.
Parameters
valueThe tuple object to convert to a value tuple
Template Parameters
T1The type of the first element.
T2The type of the second element.
T3The type of the third element.
T4The type of the fourth element.
T5The type of the fifth element.
T6The type of the sixth element.
T7The type of the seventh element.
T8The type of the eighth element, or value .Rest.Item1.
T9The type of the ninth element, or value .Rest.Item2.
T10The type of the tenth element, or value .Rest.Item3.
T11The type of the eleventh element, or value .Rest.Item4.
Returns
The converted value tuple instance.
Parameters
valueThe tuple object to convert to a value tuple
Template Parameters
T1The type of the first element.
T2The type of the second element.
T3The type of the third element.
T4The type of the fourth element.
T5The type of the fifth element.
T6The type of the sixth element.
T7The type of the seventh element.
T8The type of the eighth element, or value .Rest.Item1.
T9The type of the ninth element, or value .Rest.Item2.
T10The type of the tenth element, or value .Rest.Item3.
T11The type of the eleventh element, or value .Rest.Item4.
T12The type of the twelfth element, or value .Rest.Item5.
Returns
The converted value tuple instance.
Parameters
valueThe tuple object to convert to a value tuple
Template Parameters
T1The type of the first element.
T2The type of the second element.
T3The type of the third element.
T4The type of the fourth element.
T5The type of the fifth element.
T6The type of the sixth element.
T7The type of the seventh element.
T8The type of the eighth element, or value .Rest.Item1.
T9The type of the ninth element, or value .Rest.Item2.
T10The type of the tenth element, or value .Rest.Item3.
T11The type of the eleventh element, or value .Rest.Item4.
T12The type of the twelfth element, or value .Rest.Item5.
T13The type of the thirteenth element, or value .Rest.Item6.
Returns
The converted value tuple instance.
Parameters
valueThe tuple object to convert to a value tuple
Template Parameters
T1The type of the first element.
T2The type of the second element.
T3The type of the third element.
T4The type of the fourth element.
T5The type of the fifth element.
T6The type of the sixth element.
T7The type of the seventh element.
T8The type of the eighth element, or value .Rest.Item1.
T9The type of the ninth element, or value .Rest.Item2.
T10The type of the tenth element, or value .Rest.Item3.
T11The type of the eleventh element, or value .Rest.Item4.
T12The type of the twelfth element, or value .Rest.Item5.
T13The type of the thirteenth element, or value .Rest.Item6.
T14The type of the fourteenth element, or value .Rest.Item7.
Returns
The converted value tuple instance.
Parameters
valueThe tuple object to convert to a value tuple
Template Parameters
T1The type of the first element.
T2The type of the second element.
T3The type of the third element.
T4The type of the fourth element.
T5The type of the fifth element.
T6The type of the sixth element.
T7The type of the seventh element.
T8The type of the eighth element, or value .Rest.Item1.
T9The type of the ninth element, or value .Rest.Item2.
T10The type of the tenth element, or value .Rest.Item3.
T11The type of the eleventh element, or value .Rest.Item4.
T12The type of the twelfth element, or value .Rest.Item5.
T13The type of the thirteenth element, or value .Rest.Item6.
T14The type of the fourteenth element, or value .Rest.Item7.
T15The type of the fifteenth element., or value .Rest.Rest.Item1.
Returns
The converted value tuple instance.
Parameters
valueThe tuple object to convert to a value tuple
Template Parameters
T1The type of the first element.
T2The type of the second element.
T3The type of the third element.
T4The type of the fourth element.
T5The type of the fifth element.
T6The type of the sixth element.
T7The type of the seventh element.
T8The type of the eighth element, or value .Rest.Item1.
T9The type of the ninth element, or value .Rest.Item2.
T10The type of the tenth element, or value .Rest.Item3.
T11The type of the eleventh element, or value .Rest.Item4.
T12The type of the twelfth element, or value .Rest.Item5.
T13The type of the thirteenth element, or value .Rest.Item6.
T14The type of the fourteenth element, or value .Rest.Item7.
T15The type of the fifteenth element., or value .Rest.Rest.Item1.
T16The type of the sixteenth element, ., or value .Rest.Rest.Item2.
Returns
The converted value tuple instance.
Parameters
valueThe tuple object to convert to a value tuple
Template Parameters
T1The type of the first element.
T2The type of the second element.
T3The type of the third element.
T4The type of the fourth element.
T5The type of the fifth element.
T6The type of the sixth element.
T7The type of the seventh element.
T8The type of the eighth element, or value .Rest.Item1.
T9The type of the ninth element, or value .Rest.Item2.
T10The type of the tenth element, or value .Rest.Item3.
T11The type of the eleventh element, or value .Rest.Item4.
T12The type of the twelfth element, or value .Rest.Item5.
T13The type of the thirteenth element, or value .Rest.Item6.
T14The type of the fourteenth element, or value .Rest.Item7.
T15The type of the fifteenth element., or value .Rest.Rest.Item1.
T16The type of the sixteenth element, ., or value .Rest.Rest.Item2.
T17The type of the seventeenth element., or value .Rest.Rest.Item3.
Returns
The converted value tuple instance.
Parameters
valueThe tuple object to convert to a value tuple
Template Parameters
T1The type of the first element.
T2The type of the second element.
T3The type of the third element.
T4The type of the fourth element.
T5The type of the fifth element.
T6The type of the sixth element.
T7The type of the seventh element.
T8The type of the eighth element, or value .Rest.Item1.
T9The type of the ninth element, or value .Rest.Item2.
T10The type of the tenth element, or value .Rest.Item3.
T11The type of the eleventh element, or value .Rest.Item4.
T12The type of the twelfth element, or value .Rest.Item5.
T13The type of the thirteenth element, or value .Rest.Item6.
T14The type of the fourteenth element, or value .Rest.Item7.
T15The type of the fifteenth element., or value .Rest.Rest.Item1.
T16The type of the sixteenth element, ., or value .Rest.Rest.Item2.
T17The type of the seventeenth element., or value .Rest.Rest.Item3.
T18The type of the eighteenth element., or value .Rest.Rest.Item4.
Returns
The converted value tuple instance.
Parameters
valueThe tuple object to convert to a value tuple
Template Parameters
T1The type of the first element.
T2The type of the second element.
T3The type of the third element.
T4The type of the fourth element.
T5The type of the fifth element.
T6The type of the sixth element.
T7The type of the seventh element.
T8The type of the eighth element, or value .Rest.Item1.
T9The type of the ninth element, or value .Rest.Item2.
T10The type of the tenth element, or value .Rest.Item3.
T11The type of the eleventh element, or value .Rest.Item4.
T12The type of the twelfth element, or value .Rest.Item5.
T13The type of the thirteenth element, or value .Rest.Item6.
T14The type of the fourteenth element, or value .Rest.Item7.
T15The type of the fifteenth element., or value .Rest.Rest.Item1.
T16The type of the sixteenth element, ., or value .Rest.Rest.Item2.
T17The type of the seventeenth element., or value .Rest.Rest.Item3.
T18The type of the eighteenth element., or value .Rest.Rest.Item4.
T19The type of the nineteenth element., or value .Rest.Rest.Item5.
Returns
The converted value tuple instance.
Parameters
valueThe tuple object to convert to a value tuple
Template Parameters
T1The type of the first element.
T2The type of the second element.
T3The type of the third element.
T4The type of the fourth element.
T5The type of the fifth element.
T6The type of the sixth element.
T7The type of the seventh element.
T8The type of the eighth element, or value .Rest.Item1.
T9The type of the ninth element, or value .Rest.Item2.
T10The type of the tenth element, or value .Rest.Item3.
T11The type of the eleventh element, or value .Rest.Item4.
T12The type of the twelfth element, or value .Rest.Item5.
T13The type of the thirteenth element, or value .Rest.Item6.
T14The type of the fourteenth element, or value .Rest.Item7.
T15The type of the fifteenth element., or value .Rest.Rest.Item1.
T16The type of the sixteenth element, ., or value .Rest.Rest.Item2.
T17The type of the seventeenth element., or value .Rest.Rest.Item3.
T18The type of the eighteenth element., or value .Rest.Rest.Item4.
T19The type of the nineteenth element., or value .Rest.Rest.Item5.
T20The type of the twentieth element., or value .Rest.Rest.Item6.
Returns
The converted value tuple instance.
Parameters
valueThe tuple object to convert to a value tuple
Template Parameters
T1The type of the first element.
T2The type of the second element.
T3The type of the third element.
T4The type of the fourth element.
T5The type of the fifth element.
T6The type of the sixth element.
T7The type of the seventh element.
T8The type of the eighth element, or value .Rest.Item1.
T9The type of the ninth element, or value .Rest.Item2.
T10The type of the tenth element, or value .Rest.Item3.
T11The type of the eleventh element, or value .Rest.Item4.
T12The type of the twelfth element, or value .Rest.Item5.
T13The type of the thirteenth element, or value .Rest.Item6.
T14The type of the fourteenth element, or value .Rest.Item7.
T15The type of the fifteenth element., or value .Rest.Rest.Item1.
T16The type of the sixteenth element, ., or value .Rest.Rest.Item2.
T17The type of the seventeenth element., or value .Rest.Rest.Item3.
T18The type of the eighteenth element., or value .Rest.Rest.Item4.
T19The type of the nineteenth element., or value .Rest.Rest.Item5.
T20The type of the twentieth element., or value .Rest.Rest.Item6.
T21The type of the twenty-first element., or value .Rest.Rest.Item7.
Returns
The converted value tuple instance.

Definition at line 842 of file TupleExtensions.cs.


The documentation for this class was generated from the following file: