public class Triplet<T1, T2, T3> : Pair<T1, T2>
TripletT1, T2, T3 | Initializes a new instance of the Triplet class 初始化Triplet类的新实例 |
First |
Gets or sets the first element of the pair
获取或设置值对的第一个元素
(继承自 PairT1, T2。) |
Second |
Gets or sets the second element of the pair
获取或设置值对的第二个元素
(继承自 PairT1, T2。) |
Third | Gets or sets the third element of the triplet 获取或设置三元组的第三个元素 |
CompareTo |
Compares the current pair with another pair
将当前值对与另一个值对进行比较
(继承自 PairT1, T2。) |
Deconstruct(T1, T2) |
Deconstructs the pair into individual components
将值对解构为单独组件
(继承自 PairT1, T2。) |
Deconstruct(T1, T2, T3) | Deconstructs the triplet into individual components 将三元组解构为单独组件 |
Equals(Object) |
Determines whether the specified object is equal to the current triplet
确定指定的对象是否等于当前三元组
(重写 PairT1, T2Equals(Object)) |
Equals(PairT1, T2) |
Determines whether the specified pair is equal to the current pair
确定指定的值对是否等于当前值对
(继承自 PairT1, T2。) |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (继承自 Object。) |
GetEnumerator |
Returns an enumerator that iterates through the pair elements
返回遍历值对元素的枚举器
(继承自 PairT1, T2。) |
GetHashCode | Serves as the default hash function. (继承自 Object。) |
GetType | Gets the Type of the current instance. (继承自 Object。) |
MemberwiseClone | Creates a shallow copy of the current Object. (继承自 Object。) |
ToString |
Returns a string that represents the current triplet
返回表示当前三元组的字符串
(重写 PairT1, T2ToString) |