UnityAutoRegistration 2.1.0
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.
Install-Package UnityAutoRegistration -Version 2.1.0
dotnet add package UnityAutoRegistration --version 2.1.0
<PackageReference Include="UnityAutoRegistration" Version="2.1.0" />
paket add UnityAutoRegistration --version 2.1.0
Release Notes
- update to Unity 5.1.2 as minimum requirement (includes fixes for .Net Standard)
- support for .NET Standard 1.6 and higher
- support for .NET Framework 4.0 and higher
Dependencies
-
.NETFramework 4.0
- Unity (>= 5.1.2)
-
.NETFramework 4.5
- Unity (>= 5.1.2)
-
.NETStandard 1.6
- Microsoft.Extensions.DependencyModel (>= 2.0.0)
- NETStandard.Library (>= 1.6.1)
- System.Reflection.TypeExtensions (>= 4.4.0)
- System.Runtime.Loader (>= 4.3.0)
- Unity (>= 5.1.2)
-
.NETStandard 2.0
- System.Reflection.TypeExtensions (>= 4.4.0)
- Unity (>= 5.1.2)
Used By
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.