Exemplo n.º 1
0
    public async Task DisposeAsync()
    {
        await _session.DisposeAsync();

        await _client.DisposeAsync();

        await _harness.DisposeAsync();
    }
Exemplo n.º 2
0
    public async ValueTask DisposeAsync()
    {
        await _client.DisposeAsync();

        if (_disposeMiniCluster)
        {
            await _miniCluster.DisposeAsync();
        }
    }
Exemplo n.º 3
0
    public async Task DisposeAsync()
    {
        if (_client is not null)
        {
            await _client.DisposeAsync();
        }

        if (_newClient is not null)
        {
            await _newClient.DisposeAsync();
        }

        await _harness.DisposeAsync();
    }