public override bool Equals(object obj)
{
// Check for null values and compare run-time types.
if (obj == null || GetType() != obj.GetType())
return false;
var connection = (BaseConnectionInformation)obj;
return _connectionString == connection.ConnectionString && _queueName == connection.QueueName;
}