public bool Update(WithHost other) { if (MiscFunc.Equals(RemoteHostName, other.RemoteHostName)) { return(false); } RemoteHostNameSource = other.RemoteHostNameSource; RemoteHostName = other.RemoteHostName; return(true); }
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); }