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<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.
See the version list below for details.
Install-Package UnityAutoRegistration -Version 1.5.0
dotnet add package UnityAutoRegistration --version 1.5.0
<PackageReference Include="UnityAutoRegistration" Version="1.5.0" />
paket add UnityAutoRegistration --version 1.5.0
- Support for Unity 4
- Bugfix when registering open generics
- Unity (>= 4.0.1)
This package is not used by any popular GitHub repositories.