public void Register <TInterface, TImplementation>(LifeCycle lf = LifeCycle.PerApplication) where TImplementation : TInterface { kernel.Unbind <TInterface>(); var bindConfig = kernel.Bind <TInterface>().To <TImplementation>(); if (lf == LifeCycle.PerRequest) { bindConfig.InRequestScope(); } }