Extension methods for working with packages.
Assembly: SimpleInjector.Packaging (in SimpleInjector.Packaging.dll) Version: 4.10.2
public static class PackageExtensions
<ExtensionAttribute> Public NotInheritable Class PackageExtensions
Thetype exposes the following members.
Loads all IPackage implementations from the given set of assemblies and returns a list of created package instances.
|RegisterPackages(Container)|| Obsolete. |
Loads all IPackage implementations from assemblies that are currently loaded in the current AppDomain, and calls their Register method. Note that only publicly exposed classes that contain a public default constructor will be loaded. Note that this method will only pick up assemblies that are loaded at that moment in time. A more reliable way of registering packages is by explicitly supplying the list of assemblies using the RegisterPackages(Container, IEnumerableAssembly) overload.