Skip to content

Commit a07c730

Browse files
committed
small cleanup
1 parent 0e50cd4 commit a07c730

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

samples/ConsoleApp/Program.cs

-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
using Microsoft.Extensions.Hosting;
55
using DryIoc;
66
using DryIoc.Microsoft.DependencyInjection;
7-
using static System.Console;
87

98
HostApplicationBuilder builder = Host.CreateApplicationBuilder(args);
109
builder.Services.AddTransient<TransientDisposable>();
@@ -29,7 +28,6 @@
2928
// Resolve the actual DryIoc.IContainer from the services.
3029
var container = host.Services.GetRequiredService<IContainer>();
3130
var serviceProvider = container.Resolve<IServiceProvider>();
32-
3331
Console.WriteLine($"The actual container is {container.GetType().FullName}, and the service provider is {serviceProvider.GetType().FullName}");
3432

3533
ExemplifyDisposableScoping(host.Services, "Scope 1");

0 commit comments

Comments
 (0)