mirror of
https://github.com/Stone-Red-Code/DynamicInjector.git
synced 2026-09-04 00:56:04 +02:00
- Fix spelling mistake
This commit is contained in:
@@ -9,6 +9,7 @@ internal class Prgramm
|
|||||||
InjectionContainer container = new InjectionContainer();
|
InjectionContainer container = new InjectionContainer();
|
||||||
container.RegisterScoped<IFirstTestService, FirstTestService>();
|
container.RegisterScoped<IFirstTestService, FirstTestService>();
|
||||||
container.RegisterLocal<SecondTestService>();
|
container.RegisterLocal<SecondTestService>();
|
||||||
|
container.RegisterGlobal<IFirstTestService, FirstTestService>();
|
||||||
|
|
||||||
using (LifetimeScope scope = container.BeginScope())
|
using (LifetimeScope scope = container.BeginScope())
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<Project Sdk="Microsoft.NET.Sdk">
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<TargetFramework>netstandard2.1</TargetFramework>
|
<TargetFramework>netstandard2.1</TargetFramework>
|
||||||
@@ -7,11 +7,4 @@
|
|||||||
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
|
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
|
||||||
<PackageReference Include="Vsxmd" Version="1.4.5">
|
|
||||||
<PrivateAssets>all</PrivateAssets>
|
|
||||||
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
|
||||||
</PackageReference>
|
|
||||||
</ItemGroup>
|
|
||||||
|
|
||||||
</Project>
|
</Project>
|
||||||
|
|||||||
@@ -36,7 +36,7 @@ namespace DynamicInjector
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Disposes all disposable scoped services
|
/// Disposes all scoped disposable services
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public void Dispose()
|
public void Dispose()
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user