Table of Contents

Class RefTriple<TFirst, TSecond, TThird>

Namespace
Ecng.Common
Assembly
Ecng.Common.dll

Represents a triple of reference values.

public class RefTriple<TFirst, TSecond, TThird> : RefPair<TFirst, TSecond>, IRefTuple

Type Parameters

TFirst

Type of the first element.

TSecond

Type of the second element.

TThird

Type of the third element.

Inheritance
RefPair<TFirst, TSecond>
RefTriple<TFirst, TSecond, TThird>
Implements
Derived
Inherited Members
Extension Methods

Constructors

RefTriple()

Initializes a new instance of the RefTriple<TFirst, TSecond, TThird> class.

public RefTriple()

RefTriple(TFirst, TSecond, TThird)

Initializes a new instance of the RefTriple<TFirst, TSecond, TThird> class with specified values.

public RefTriple(TFirst first, TSecond second, TThird third)

Parameters

first TFirst

The first element.

second TSecond

The second element.

third TThird

The third element.

Properties

Third

Gets or sets the third element.

public TThird Third { get; set; }

Property Value

TThird

Values

Gets or sets the tuple values.

public override IEnumerable<object> Values { get; set; }

Property Value

IEnumerable<object>

Methods

GetValuesString()

Gets a string that represents the tuple values.

protected override string GetValuesString()

Returns

string

A string representation of the tuple values.