public ConfigurationForm(IConfigurationPresenter presenter) { InitializeComponent(); _presenter = presenter; _presenter.View = this; }
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; }