public void BuildContainer(IRegisterProcessor registerProcessor) { if (_ezzBootstrapper == null) { _ezzBootstrapper = new EzzBootstrapper(); } registerProcessor.AssemblyPrefix = _assembliesPrefix; _ezzBootstrapper.Startup(registerProcessor); _ezzBootstrapper.Execute(registerProcessor); }
public EzzInjectionManager WithBootstrapper <TBootstrapper>() where TBootstrapper : EzzBootstrapper, new() { _ezzBootstrapper = new TBootstrapper(); return(this); }