UnityAutoRegistration

Unity Auto Registration extends the Unity IoC container 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) 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.

Info

Version: 2.1.0
Author(s): agovorov, astaerk
Last Update: Friday, August 31, 2018
.NET Fiddle: Create the first Fiddle
Project Url: https://github.com/astaerk/AutoRegistration
NuGet Url: https://www.nuget.org/packages/UnityAutoRegistration


Install
Install-Package UnityAutoRegistration
dotnet add package Z.EntityFramework.Plus.EF6
paket add UnityAutoRegistration
UnityAutoRegistration Download (Unzip the "nupkg" after downloading)

.NETFramework 4.0 .NETFramework 4.5 .NETStandard 1.6 .NETStandard 2.0


Tags



STATS

must-have-score

5.1

avg-downloads-per-day

14

days-since-last-release

23