示例#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);
 }