You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I need to think about this but I think this would be possible thanks to the parent Kernel feature in the roadmap:
var kernel: kernel = null;
if(config.mode == "easy"){
kernel = new Kernel(easyKernel);
}
else {
kernel = new Kernel(hardKernel);
}
The Kernel chain will behave in a similar way to the JavaScript prototype chain. If a binding cannot be resolved the kernel will search in the kernel chain. This idea was inspired by child injectors in Angular DI.
Sometime there is a logic on registering Types:
You don't want to repeat those logic on the Unit Test and in your apps. even you need to unit test those logic.
will be better if Inversify can provide a predefined (template) registration. in Castle Windsor its called Installer
The text was updated successfully, but these errors were encountered: