Пример #1
0
 public LogViewerGridViewModel(IAppServices appServices,
                               IUserDefinedSettings settings,
                               IProtoConfigManager <HighlightConfig> highlightConfigManager,
                               string filePath) : base(appServices)
 {
     _settings = settings;
     _highlightConfigManager = highlightConfigManager;
     LoadHighlightSettings();
     LocalPath = filePath;
     ReadFile(filePath);
 }
Пример #2
0
        public OptionsPanelViewModel(IAppServices appServices,
                                     IDialogFactory dialogFactory,
                                     IDocumentContainerPanelViewModel documentPanelViewModel,
                                     IUserDefinedSettings settings) : base(appServices)
        {
            _settings               = settings;
            _dialogFactory          = dialogFactory;
            _documentPanelViewModel = documentPanelViewModel;

            _documentPanelViewModel.SelectedPageChanged += _documentPanelViewModel_SelectedPageChanged;

            SetupCommands();
        }