예제 #1
0
        public void BuildContainer(IRegisterProcessor registerProcessor)
        {
            if (_ezzBootstrapper == null)
            {
                _ezzBootstrapper = new EzzBootstrapper();
            }

            registerProcessor.AssemblyPrefix = _assembliesPrefix;

            _ezzBootstrapper.Startup(registerProcessor);
            _ezzBootstrapper.Execute(registerProcessor);
        }
예제 #2
0
 public EzzInjectionManager WithBootstrapper <TBootstrapper>() where TBootstrapper : EzzBootstrapper, new()
 {
     _ezzBootstrapper = new TBootstrapper();
     return(this);
 }