コード例 #1
0
 public bool Equals(RadarObstacles other)
 {
     if (ReferenceEquals(other, null))
     {
         return(false);
     }
     if (ReferenceEquals(other, this))
     {
         return(true);
     }
     if (!RadarObstacle.Equals(other.RadarObstacle))
     {
         return(false);
     }
     if (!object.Equals(Header, other.Header))
     {
         return(false);
     }
     if (ErrorCode != other.ErrorCode)
     {
         return(false);
     }
     return(true);
 }