示例#1
0
 public static S_TupleType Create(string[] names, object[] values)
 {
     return(new S_TupleType()
     {
         _names = names,
         _values = values,
         _hashcode = TupleTypeHelper.CalcHashCode(values),
     });
 }
示例#2
0
 public override string ToString()
 {
     return(TupleTypeHelper.Format(_values));
 }
示例#3
0
 public override bool Equals(object obj)
 {
     return(obj is S_TupleType &&
            TupleTypeHelper.AreEqual(((S_TupleType)obj)._values, _values));
 }