Lombiq Helpful Libraries - Common Libraries - Dependency Injection
December 14, 2022 ยท View on GitHub
Lazy injection support
Using the AddLazyInjectionSupport() extension will allow you to inject lazy dependencies like Lazy<IMyService> myService.
Usage:
public override void ConfigureServices(IServiceCollection services)
{
services.AddLazyInjectionSupport();
}