Exemplo n.º 1
0
 public LoadPlugins(ProfilerData profilerData,
                    GuiModel guiModelData,
                    IDialogManager dialogManager,
                    ICommonDialogsService commonDialogsService)
 {
     _profilerData = profilerData;
     _guiModelData = guiModelData;
     _dialogManager = dialogManager;
     _commonDialogsService = commonDialogsService;
 }
Exemplo n.º 2
0
        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);
        }