diff --git a/DynamicInjector-Test/Program.cs b/DynamicInjector-Test/Program.cs index ee70d24..3c2c514 100644 --- a/DynamicInjector-Test/Program.cs +++ b/DynamicInjector-Test/Program.cs @@ -9,6 +9,7 @@ internal class Prgramm InjectionContainer container = new InjectionContainer(); container.RegisterScoped(); container.RegisterLocal(); + container.RegisterGlobal(); using (LifetimeScope scope = container.BeginScope()) { diff --git a/DynamicInjector/DynamicInjector.csproj b/DynamicInjector/DynamicInjector.csproj index db98969..f92ca51 100644 --- a/DynamicInjector/DynamicInjector.csproj +++ b/DynamicInjector/DynamicInjector.csproj @@ -1,4 +1,4 @@ - + netstandard2.1 @@ -7,11 +7,4 @@ True - - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - - - diff --git a/DynamicInjector/LifetimeScope.cs b/DynamicInjector/LifetimeScope.cs index 36c6ff6..b9cd0d7 100644 --- a/DynamicInjector/LifetimeScope.cs +++ b/DynamicInjector/LifetimeScope.cs @@ -36,7 +36,7 @@ namespace DynamicInjector } /// - /// Disposes all disposable scoped services + /// Disposes all scoped disposable services /// public void Dispose() {