Table of Contents

Class TupleSelectors

Namespace
Garyon.Functions
Assembly
Garyon.dll

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

value1 T1

The first argument.

value2 T2

The second argument.

Returns

(T1, T2)

A tuple containing the two arguments in the order they were given.

Type Parameters

T1

The type of the first argument.

T2

The 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

value1 T1

The first argument.

value2 T2

The second argument.

value3 T3

The third argument.

Returns

(T1, T2, T3)

A tuple containing the three arguments in the order they were given.

Type Parameters

T1

The type of the first argument.

T2

The type of the second argument.

T3

The type of the third argument.