public LoadPlugins(ProfilerData profilerData, GuiModel guiModelData, IDialogManager dialogManager, ICommonDialogsService commonDialogsService) { _profilerData = profilerData; _guiModelData = guiModelData; _dialogManager = dialogManager; _commonDialogsService = commonDialogsService; }
public MainWindowViewModel(ICommonDialogsService commonDialogsService, IDialogManager dialogManager) { _commonDialogsService = commonDialogsService; _dialogManager = dialogManager; if (Designer.IsInDesignModeStatic) return; manageAppExit(); registerMessengers(); GuiModelData = new GuiModel(); loadPlugins(); loadConfig(); GuiModelData.PropertyChanged += GuiModelData_PropertyChanged; setCommands(); doStart(string.Empty); }