Class RefTriple<TFirst, TSecond, TThird>
Represents a triple of reference values.
public class RefTriple<TFirst, TSecond, TThird> : RefPair<TFirst, TSecond>, IRefTuple
Type Parameters
TFirstType of the first element.
TSecondType of the second element.
TThirdType 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
firstTFirstThe first element.
secondTSecondThe second element.
thirdTThirdThe 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
Methods
GetValuesString()
Gets a string that represents the tuple values.
protected override string GetValuesString()
Returns
- string
A string representation of the tuple values.