Class RefTriple<TFirst, TSecond, TThird>
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
TFirstThe first element.
second
TSecondThe second element.
third
TThirdThe 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.