Пример #1
0
 public bool Update(WithHost other)
 {
     if (MiscFunc.Equals(RemoteHostName, other.RemoteHostName))
     {
         return(false);
     }
     RemoteHostNameSource = other.RemoteHostNameSource;
     RemoteHostName       = other.RemoteHostName;
     return(true);
 }
Пример #2
0
 public bool Update(WithHost other)
 {
     if (RemoteHostName != null && other.RemoteHostName != null && RemoteHostName.Equals(other.RemoteHostName))
     {
         return(false);
     }
     RemoteHostNameSource = other.RemoteHostNameSource;
     RemoteHostName       = other.RemoteHostName;
     return(true);
 }