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.
#r "nuget: UnityAutoRegistration,"
For F# scripts that support #r syntax, copy this into the source code to reference the package.

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
2.1.0 20,968 8/31/2018
2.0.0 891 8/27/2018
1.5.0 1,401 10/5/2017 87,633 8/28/2013 36,544 8/2/2011
1.0.0 1,700 8/2/2011
Show less