Equals() public method

public Equals ( object obj ) : bool
obj object
return bool
Exemplo n.º 1
0
 private static void testEquality(string s, Schema sc)
 {
     Assert.IsTrue(sc.Equals(sc));
     Schema sc2 = Schema.Parse(s);
     Assert.IsTrue(sc.Equals(sc2));
     Assert.AreEqual(sc.GetHashCode(), sc2.GetHashCode());
 }