Triple

Description

struct Tinman.Core.Util.Triple
<TFirst>
<TSecond>
<TThird>

A struct for storing tuples of length three.

Public / Methods

Get


public static method Get → (3)

first opt : TFirst = default(TFirst)

The first tuple element.

second opt : TSecond = default(TSecond)

The second tuple element.

third opt : TThird = default(TThird)

The third tuple element.

returns → Triple<TFirst, TSecond, TThird>

The tuple value.

Creates a new instance of Triple.

Index​Format


public static method IndexFormat → (3)

first in : IBlockIndexFormat<TFirst>

[not-null]
Block index format of first tuple element.

second in : IBlockIndexFormat<TSecond>

[not-null]
Block index format of second tuple element.

third in : IBlockIndexFormat<TThird>

[not-null]
Block index format of third tuple element.

returns → IBlockIndexFormat<Triple<TFirst, TSecond, TThird>>

The IBlockIndexFormat object.

Creates a new instance of IBlockIndexFormat for this tuple type.

Public / Attributes

First


public readonly attribute First → (TFirst)

The first tuple value.

Second


public readonly attribute Second → (TSecond)

The second tuple value.

Third


public readonly attribute Third → (TThird)

The third tuple value.