示例#1
0
        protected override void Initialize(IDIContainer container)
        {
            base.Initialize(container);

            var cm = container.GetInstance<IConfigurationManager<IStepMapConfig>>();
            cm.LoadConfiguation();
            container.RegisterInstance(cm.Config);
        }
 public TIDomain GetDomain <TIDomain>() where TIDomain : IDomain
 {
     return(DIContainer.GetInstance <TIDomain>());
 }