Microsoft.Extensions.DependencyInjection.AutoRegistration NuGet Package

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.




Got any Microsoft.Extensions.DependencyInjection.AutoRegistration Question?





Info

Version: 3.0.0
Author(s): agovorov, astaerk
Last Update: Tuesday, June 4, 2019
.NET Fiddle: Create the first Fiddle
Project Url: https://github.com/robertsmits/AutoRegistration
NuGet Url: https://www.nuget.org/packages/DependencyInjection.AutoRegistration


Install
Install-Package DependencyInjection.AutoRegistration
dotnet add package DependencyInjection.AutoRegistration
paket add DependencyInjection.AutoRegistration
DependencyInjection.AutoRegistration Download (Unzip the "nupkg" after downloading)



Tags



STATS

must-have-score

.5

avg-downloads-per-day

0

days-since-last-release

1760