예제 #1
0
        public ConfigurationForm(IConfigurationPresenter presenter)
        {
            InitializeComponent();

            _presenter      = presenter;
            _presenter.View = this;
        }
예제 #2
0
 public ConfigurationAdminController(
     IConfigurationManager configurationManager,
     ConfigurationAdminService configurationAdminService,
     IConfigurationPresenter configurationPresenter,
     IConfigurationRoot configurationRoot,
     IDynamicConfigCache dynamicConfigCache,
     IHostingEnvironment env,
     IServiceProvider serviceProvider) : base(serviceProvider)
 {
     this.env = env;
     this.dynamicConfigCache        = dynamicConfigCache;
     this.configurationRoot         = configurationRoot;
     this.configurationManager      = configurationManager;
     this.configurationAdminService = configurationAdminService;
     this.configurationPresenter    = configurationPresenter;
 }