We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0e50cd4 commit a07c730Copy full SHA for a07c730
samples/ConsoleApp/Program.cs
@@ -4,7 +4,6 @@
4
using Microsoft.Extensions.Hosting;
5
using DryIoc;
6
using DryIoc.Microsoft.DependencyInjection;
7
-using static System.Console;
8
9
HostApplicationBuilder builder = Host.CreateApplicationBuilder(args);
10
builder.Services.AddTransient<TransientDisposable>();
@@ -29,7 +28,6 @@
29
28
// Resolve the actual DryIoc.IContainer from the services.
30
var container = host.Services.GetRequiredService<IContainer>();
31
var serviceProvider = container.Resolve<IServiceProvider>();
32
-
33
Console.WriteLine($"The actual container is {container.GetType().FullName}, and the service provider is {serviceProvider.GetType().FullName}");
34
35
ExemplifyDisposableScoping(host.Services, "Scope 1");
0 commit comments