/// <summary> /// /// </summary> /// <param name="obj"></param> /// <returns></returns> public override bool Equals(object obj) { if (null == obj) { return(false); } if (object.ReferenceEquals(this, obj)) { return(true); } if (!base.Equals(obj)) { return(false); } var d = obj as InfluxDataSource; if (null == d) { return(false); } if (!BasicAuthentication.Equals(d.BasicAuthentication)) { return(false); } if (WithCredentials != d.WithCredentials) { return(false); } if (TlsClientAuth != d.TlsClientAuth) { return(false); } if (WithCaCert != d.WithCaCert) { return(false); } if (SkipTlsVerification != d.SkipTlsVerification) { return(false); } if (Database != d.Database) { return(false); } if (User != d.User) { return(false); } if (Password != d.Password) { return(false); } if (AccessMethod != d.AccessMethod) { return(false); } return(true); }