public bool Equals(TestEntryFull other)
 {
     return
         (Tag == other.Tag
          &&
          Prop1 == other.Prop1
          &&
          Prop2 == other.Prop2
          &&
          Obj1.Equals(other.Obj1));
 }
Beispiel #2
0
 public static bool operator !=(Tupel <T1, T2> Obj1, Tupel <T1, T2> Obj2)
 {
     if (object.ReferenceEquals(Obj1, null))
     {
         if (object.ReferenceEquals(Obj2, null))
         {
             return(false);
         }
         return(true);
     }
     if (object.ReferenceEquals(Obj2, null))
     {
         return(true);
     }
     return(!Obj1.Equals(Obj2));
 }
Beispiel #3
0
 public static bool operator ==(Tupel <T1, T2> Obj1, Tupel <T1, T2> Obj2)
 {
     return(Obj1.Equals(Obj2));
 }