Example #1
0
        public BusBuilder Configure(IAutoConfigurationModel autoConfigurationModel)
        {
            var autoConfigurator = new AutoConfigurator();

            autoConfigurator.Configure(_configurationContext.ConfigurationModel, autoConfigurationModel);
            return(this);
        }
Example #2
0
 // 保存、読み込み
 public void Load()
 {
     // StringDictionaryからプロパティへもどす。
     _config = Setting.GetSettings(ConfigurationPath + @"\AppSettings.xml");
     AutoConfigurator.Configure(this,
                                new AutoConfigurator.ConfigurationHandler(LoadConfigHandler));
 }