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