Table of Contents

CreateFour Method

Definition

Namespace
Cuemon.Extensions
Assemblies
Cuemon.Extensions.Core.dll
Source
src/Cuemon.Extensions.Core/MutableTupleFactory.cs

CreateFour<T1, T2, T3, T4>(T1, T2, T3, T4)

Creates a new 4-tuple, or quadruple, representation of a MutableTuple.

public static MutableTuple<T1, T2, T3, T4> CreateFour<T1, T2, T3, T4>(T1 arg1, T2 arg2, T3 arg3, T4 arg4)

Parameters

arg1 T1

The value of the first parameter of the tuple.

arg2 T2

The value of the second parameter of the tuple.

arg3 T3

The value of the third parameter of the tuple.

arg4 T4

The value of the fourth parameter of the tuple.

Returns

MutableTuple<T1, T2, T3, T4>

A 4-tuple (quadruple) whose value is (arg1, arg2, arg3, arg4).

Type Parameters

T1

The type of the first parameter of the tuple.

T2

The type of the second parameter of the tuple.

T3

The type of the third parameter of the tuple.

T4

The type of the fourth parameter of the tuple.