Info
Version: | 1.0.3 |
Author(s): | LZH |
Last Update: | Wednesday, April 28, 2021 |
.NET Fiddle: | Create the first Fiddle |
Project Url: | https://github.com/91651/Microsoft.DependencyInjection |
NuGet Url: | https://www.nuget.org/packages/BC.Microsoft.DependencyInjection.Plus |
Install
Install-Package BC.Microsoft.DependencyInjection.Plus
dotnet add package BC.Microsoft.DependencyInjection.Plus
paket add BC.Microsoft.DependencyInjection.Plus
BC.Microsoft.DependencyInjection.Plus Download (Unzip the "nupkg" after downloading)
Dependencies
- Microsoft.Extensions.DependencyInjection(>= 2.0.0)
Simplify use for DI.
e.g: services.AddScopedFromAssembly<Type>();
or: services.AddScopedFromAssembly(nameof(Assembly), o => o.Matching = true);.