コード例 #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);
 }