Пример #1
0
 public static bool Equals(DataUnitID first, DataUnitID second)
 {
     if (first == null || second == null)
         return false;
     else
         return first.getValue() == second.getValue() && first.getMessageLength() == second.getMessageLength() && first.getParity() == second.getParity();
 }
Пример #2
0
 public static bool Equals(DataUnitID first, DataUnitID second)
 {
     if (first == null || second == null)
     {
         return(false);
     }
     else
     {
         return(first.getValue() == second.getValue() && first.getMessageLength() == second.getMessageLength() && first.getParity() == second.getParity());
     }
 }
Пример #3
0
 public bool Equals(DataUnitID test)
 {
     return(Equals(this, test));
 }
Пример #4
0
 public bool Equals(DataUnitID test) { return Equals(this, test); }