Unity Auto Registration extends Unity IoC container and provides fluent syntax to configure rules for automatic type registration. Using few code lines you can scan specified assemblies and register all types that satisfy your rules.

Rules for determining whether to include/exclude type/assembly are predicates (Predicate<T>) so you can use lambda syntax to specify them or direct method name. There are a few methods in If helper class (like Implements, DecoratedWith) to cover some common scenarios of type registering.

There is a newer version of this package available.
See the version list below for details.
Install-Package UnityAutoRegistration -Version
dotnet add package UnityAutoRegistration --version
<PackageReference Include="UnityAutoRegistration" Version="" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add UnityAutoRegistration --version
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
2.1.0 2,896 8/31/2018
2.0.0 551 8/27/2018
1.5.0 1,166 10/5/2017 63,904 8/28/2013 29,536 8/2/2011
1.0.0 1,142 8/2/2011
Show less