#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
        }
예제 #2
0
        public async Task DisposeAsync()
        {
            if (Collection != null)
            {
                await _configuration.DisposeAsync(Collection);
            }

            await _environment.Down();

            await _environment.DisposeAsync();
        }
 public async Task DisposeAsync() => await _environment.Down();
예제 #4
0
        public async Task GlobalCleanup()
        {
            await _env.Down();

            await _env.DisposeAsync();
        }