Ejemplo n.º 1
0
Archivo: Node.cs Proyecto: cloverSA/GM
 public bool Equals(Node other)
 {
     if (HostIP == null || Hostname == null || other.Hostname == null || other.HostIP == null)
     {
         return(false);
     }
     if (
         Hostname.Trim() == other.Hostname.Trim() ||
         HostIP.Trim() == other.Hostname.Trim())
     {
         return(true);
     }
     else
     {
         return(false);
     }
 }