Skip to content
Documentation

HAKOM.DependencyInjection.Core.Net.Api Namespace

Contains the public API surface of the HAKOM dependency injection module.

The key types in this namespace are:

  • IContainer — Register services with methods such as Use, UseOnce, and UseSingleton. After all registrations are complete, call Activate() to seal the container and begin resolving.
  • IActivatedContainer — Read-only view of a sealed container that can only resolve previously registered services.
  • IApplicationContext — Convenience entry point that creates a container, accepts registrations, activates, and resolves a root service in a single fluent call.
Interfaces
IActivatedContainer A dependency injection container used to resolve dependencies.
IApplicationContext Used to configure a dependency injection container and activate a registered service to act as the root of an application.
IContainer Dependency injection container used to register and resolve services and their implementing types.
IRequiresConfiguration Marker interface for types that require a post-instantiation configuration step before they can be used.
ISharedInstance<TCommon,TShared> Represents a container for an instance of type TShared that all activations of TCommon want to share among themselves. The implementation of TCommon should add a dependency to ISharedInstance<TCommon,TShared> to access the shared instance through Instance.
© 2026 Volue.Version v0.6.38017 November 2026