#pragma warning disable CS1998 // Async method lacks 'await' operators and will run synchronously private async Task DisposeEnvironment(DockerEnvironment environment) #pragma warning restore CS1998 // Async method lacks 'await' operators and will run synchronously { #if !DEBUG await environment.Down(); await environment.DisposeAsync(); #endif }
public async Task DisposeAsync() { if (Collection != null) { await _configuration.DisposeAsync(Collection); } await _environment.Down(); await _environment.DisposeAsync(); }
public async Task DisposeAsync() => await _environment.Down();
public async Task GlobalCleanup() { await _env.Down(); await _env.DisposeAsync(); }