示例#1
0
 public int GetHashCode(Row <uint, uint, uint> obj)
 {
     return((int)(obj.Col1 ^ obj.Col2 ^ obj.Col3));
 }
示例#2
0
        public int GetHashCode(Row <string, string> obj)
        {
            string x = obj.Col1, y = obj.Col2;

            return((x != null ? x.GetHashCode() : 0) ^ (y != null ? y.GetHashCode() : 0));
        }
示例#3
0
 public bool Equals(Row <uint, uint, uint> x, Row <uint, uint, uint> y)
 {
     return(x.Col1 == y.Col1 &&
            x.Col2 == y.Col2 &&
            x.Col3 == y.Col3);
 }
示例#4
0
 public bool Equals(Row <string, string> x, Row <string, string> y)
 {
     return(x.Col1 == y.Col1 &&
            x.Col2 == y.Col2);
 }