public void Dispose() { if (_provider != null && _provider.IsConnected == true) { _provider.Dispose(); } }
protected virtual void Dispose(bool disposing) { if (!disposed) { if (disposing) { _client.Dispose(); } disposed = true; } }
public void TearDown() { client.Dispose(); }
public void Dispose() { client.Dispose(); }
public void Disconnect() { _logger.LogInformation("Disconnecting from graph database"); _client.Dispose(); }