Class TupleSelectors
Provides a collection of tuple selector functions.
public static class TupleSelectors
- Inheritance
-
TupleSelectors
- Inherited Members
Methods
MakeTuple<T1, T2>(T1, T2)
Makes a tuple out of the provided arguments.
public static (T1, T2) MakeTuple<T1, T2>(T1 value1, T2 value2)
Parameters
value1T1The first argument.
value2T2The second argument.
Returns
- (T1, T2)
A tuple containing the two arguments in the order they were given.
Type Parameters
T1The type of the first argument.
T2The type of the second argument.
MakeTuple<T1, T2, T3>(T1, T2, T3)
Makes a tuple out of the provided arguments.
public static (T1, T2, T3) MakeTuple<T1, T2, T3>(T1 value1, T2 value2, T3 value3)
Parameters
value1T1The first argument.
value2T2The second argument.
value3T3The third argument.
Returns
- (T1, T2, T3)
A tuple containing the three arguments in the order they were given.
Type Parameters
T1The type of the first argument.
T2The type of the second argument.
T3The type of the third argument.