public DocumentPreviewViewModel(IShellNavigationService navigationService) { _navigationService = navigationService; OpenAsDocumentCommand = new RelayCommand(async doc => await OpenAsDocument(doc), _ => CanOpenAsDocument); SplitOrientation = Properties.Settings.Default.DocumentPreview_SplitOrientation; ContentMaxLength = Properties.Settings.Default.DocumentPreview_ContentMaxLength; }
public ApplicationInteraction(IWindowManager windowManager, IShellNavigationService navigationService) { _windowManager = windowManager; _navigationService = navigationService; }