Exemplo n.º 1
0
 protected bool Equals(NonGenericCollectionsSample other)
 {
     return(EqualsHelpers.CollectionEquals(ObjList, other.ObjList) &&
            EqualsHelpers.CollectionEquals(TheArrayList, other.TheArrayList) &&
            EqualsHelpers.DictionaryEquals(TheHashtable, other.TheHashtable) &&
            EqualsHelpers.CollectionEquals(TheQueue, other.TheQueue) &&
            EqualsHelpers.CollectionEquals(TheStack, other.TheStack) &&
            EqualsHelpers.DictionaryEquals(TheSortedList, other.TheSortedList) &&
            EqualsHelpers.CollectionEquals(TheBitArray, other.TheBitArray));
 }
Exemplo n.º 2
0
 public static bool operator !=(TestClass left, TestClass right)
 {
     return(EqualsHelpers.OperatorNotEqualsHelper(left, right));
 }
Exemplo n.º 3
0
 public bool Equals(TestClass other)
 {
     return(EqualsHelpers.ArePropertiesEqual(this, other));
 }