HAKOM.DependencyInjection.Configuration.Net.Api Namespace
HAKOM.DependencyInjection.Configuration.Net
Section titled “HAKOM.DependencyInjection.Configuration.Net”Contains the public API surface of the configuration-driven dependency injection module.
Remarks
Section titled “Remarks”The key types in this namespace are:
- IAssemblyLoader — Responsible for loading an external assembly from a given file path so that its registration methods can be invoked at startup.
- ICustomRegistrationOptions — Describes a single configuration entry that specifies which assembly, class, and method to call for registering services with IContainer.
| Interfaces | |
|---|---|
| IAssemblyLoader | Responsible for loading an assembly from the given path. |
| ICustomRegistrationOptions | Configures additional dependencies that should be registered with an IContainer on startup. For this to work, the given Assembly should contain a public, static class named as configured in ClassName. That class should define a public static method that takes an IContainer as its first and only parameter and that method should have the same name as configured in RegistrationMethod. |
Was this page helpful?Thanks for your feedback!