public override int GetHashCode() { int hash = 1; if (Host.Length != 0) { hash ^= Host.GetHashCode(); } if (Porta != 0) { hash ^= Porta.GetHashCode(); } if (Servico.Length != 0) { hash ^= Servico.GetHashCode(); } if (estado_ != null) { hash ^= Estado.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { unchecked { var hashCode = Servidor?.GetHashCode() ?? 0; hashCode = (hashCode * 397) ^ Porta.GetHashCode(); hashCode = (hashCode * 397) ^ Usuario?.GetHashCode() ?? 0; hashCode = (hashCode * 397) ^ Senha?.GetHashCode() ?? 0; hashCode = (hashCode * 397) ^ UseSsl.GetHashCode(); hashCode = (hashCode * 397) ^ RequerAutenticacao.GetHashCode(); hashCode = (hashCode * 397) ^ Encoding?.GetHashCode() ?? 0; return(hashCode); } }
public override int GetHashCode() { int hash = 1; if (Ip.Length != 0) { hash ^= Ip.GetHashCode(); } if (Porta.Length != 0) { hash ^= Porta.GetHashCode(); } if (Nome.Length != 0) { hash ^= Nome.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }