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