Exemplo n.º 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();
 }
Exemplo n.º 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());
     }
 }
Exemplo n.º 3
0
 public bool Equals(DataUnitID test)
 {
     return(Equals(this, test));
 }
Exemplo n.º 4
0
 public bool Equals(DataUnitID test) { return Equals(this, test); }