Valerio-Corso
Results
2
comments of
Valerio-Corso
If you just want to manually handle the lifecycle you can register the instance, as that is not managed by the container. ``` var b = builder.Resolve().ClassB; builder.RegisterInstance(b).As(); ```
sorry my bad, that was from top of my head and syntax may be wrong but the idea of registering an instance stands. Otherwise, not sure if these solution fits...