DependencyInjection.AutoRegistration
3.0.0
DependencyInjection Auto Registration extends the :icrosoft Extensions IServiceCollection and provides a fluent syntax to configure rules for automatic type registration. Using few lines of code you can scan specified assemblies and register all types that satisfy your rules.
Rules for determining whether to include/exclude types/assemblies are predicates (Predicate<T>) so you can use lambda syntax or direct method name to specify them. There are a few methods in an If helper class (like Implements, DecoratedWith) to cover some common scenarios of type registration.
Install-Package DependencyInjection.AutoRegistration -Version 3.0.0
dotnet add package DependencyInjection.AutoRegistration --version 3.0.0
<PackageReference Include="DependencyInjection.AutoRegistration" Version="3.0.0" />
paket add DependencyInjection.AutoRegistration --version 3.0.0
Release Notes
- Migrate to IServiceCollection in Microsoft.Extensions.DependencyInjection
- support for .NET Standard 1.6 and higher
- support for .NET Framework 4.6.1 and higher
Dependencies
-
.NETFramework 4.6.1
- Microsoft.Extensions.DependencyInjection (>= 2.2.0)
-
.NETStandard 2.0
- Microsoft.Extensions.DependencyInjection (>= 2.2.0)
- System.Reflection.TypeExtensions (>= 4.4.0)
Used By
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version History
Version | Downloads | Last updated |
---|---|---|
3.0.0 | 388 | 6/4/2019 |