public PluginsConfigurationController(PluginsManager pluginsManager, IPluginSettingsProvider pluginSettingsProvider, IPluginConfigurationRepository pluginConfigurationRepository, IViewModelFactory viewModelFactory, Window mainWindow) { _pluginsManager = pluginsManager; _pluginSettingsProvider = pluginSettingsProvider; _pluginConfigurationRepository = pluginConfigurationRepository; _viewModelFactory = viewModelFactory; _mainWindow = mainWindow; }
public PluginsSettingsProvider(IPluginConfigurationRepository pluginConfigurationRepository) { _pluginConfigurationRepository = pluginConfigurationRepository; _pluginsConfiguration = new Lazy <PluginsConfiguration>(LoadPluginsConfiguration); }