public BookmarksService(ILog log, IShellEventsService shellEventsService, IShellStatusBarService shellStatusBarService, IShellSelectionService shellSelectionService, IShellHelperService shellHelperService) { if (log == null) { throw new ArgumentNullException(nameof(log)); } if (shellEventsService == null) { throw new ArgumentNullException(nameof(shellEventsService)); } if (shellStatusBarService == null) { throw new ArgumentNullException(nameof(shellStatusBarService)); } if (shellSelectionService == null) { throw new ArgumentNullException(nameof(shellSelectionService)); } if (shellHelperService == null) { throw new ArgumentNullException(nameof(shellHelperService)); } _log = log; _shellEventsService = shellEventsService; _shellStatusBarService = shellStatusBarService; _shellSelectionService = shellSelectionService; _shellHelperService = shellHelperService; }
public FileBrowserViewModel(IServiceProvider serviceProvider, ILog log, IMessageService messageService, IOptionsService optionsService, ISolutionProcessor solutionProcessor, IFileTypeResolver fileTypeResolver, ISearchMatchService searchMatchService, IShellHelperService shellHelperService, IShellImageService shellImageService, IUtilsService utilsService, IFeatureFactory featureFactory) : base(KnownFeature.FileBrowser, serviceProvider) { _log = log; _messageService = messageService; _optionsService = optionsService; _solutionProcessor = solutionProcessor; _fileTypeResolver = fileTypeResolver; _searchMatchService = searchMatchService; _shellHelperService = shellHelperService; _shellImageService = shellImageService; _utilsService = utilsService; _featureFactory = featureFactory; // Source files must be setup in constructor or view won't show any binding data _sourceFiles = new ObservableCollection <FileModel>(); _files = new CollectionViewSource { Source = _sourceFiles }; // must be ObservableCollection this.ShowFilesCommand = new RelayCommand(_messageService, OnShowAllFiles); this.OpenCodeBrowserAllCommand = new RelayCommand(_messageService, OnOpenCodeBrowserAll, OnCanOpenCodeBrowser); this.OpenCodeBrowserClassesCommand = new RelayCommand(_messageService, OnOpenCodeBrowserClasses, OnCanOpenCodeBrowser); this.OpenCodeBrowserMethodsCommand = new RelayCommand(_messageService, OnOpenCodeBrowserMethods, OnCanOpenCodeBrowser); this.OpenCodeBrowserPropertiesCommand = new RelayCommand(_messageService, OnOpenCodeBrowserProperties, OnCanOpenCodeBrowser); this.OpenFilesCommand = new RelayCommand(_messageService, OnOpenFiles, OnCanOpenFiles); }
public SupportOptionsFirstTimeUse(ILog log, IOptionsService optionsService, IPackageService packageService, IShellHelperService shellHelperService, IShellInfoBarService shellInfoBarService, IMessageService messageService) { if (log == null) { throw new ArgumentNullException(nameof(log)); } if (optionsService == null) { throw new ArgumentNullException(nameof(optionsService)); } if (shellHelperService == null) { throw new ArgumentNullException(nameof(shellHelperService)); } if (messageService == null) { throw new ArgumentNullException(nameof(messageService)); } _log = log; _optionsService = optionsService; _packageService = packageService; _shellHelperService = shellHelperService; _shellInfoBarService = shellInfoBarService; _messageService = messageService; }
public ShellInfoBarService(IServiceProvider serviceProvider, ILog log, IMessageService messageService, IShellHelperService shellHelperService) { _serviceProvider = serviceProvider; _log = log; _messageService = messageService; _shellHelperService = shellHelperService; }
public SurroundWithFeature(IServiceProvider serviceProvider, ILog log, IOptionsService optionsService, IShellHelperService shellHelperService, IShellSelectionService shellSelectionService, IFileTypeResolver fileTypeResolver, IKeyboardService keyboardService) : base(serviceProvider, log, optionsService) { _shellHelperService = shellHelperService; _shellSelectionService = shellSelectionService; _fileTypeResolver = fileTypeResolver; _keyboardService = keyboardService; }
public SupportOptionsFeature(IServiceProvider serviceProvider, ILog log, IOptionsService optionsService, IPackageService packageService, IShellEventsService shellEventsService, IShellHelperService shellHelperService, IShellInfoBarService shellInfoBarService, IMessageService messageService) : base(serviceProvider, log, optionsService) { _packageService = packageService; _shellEventsService = shellEventsService; _shellHelperService = shellHelperService; _shellInfoBarService = shellInfoBarService; _messageService = messageService; }
public MiscellaneousFeature(IServiceProvider serviceProvider, ILog log, IOptionsService optionsService, IPackageService packageService, IUtilsService utilsService, IShellHelperService shellHelperService, IShellStatusBarService shellStatusBarService, IShellReferenceService shellReferenceService, IShellSelectionService shellSelectionService) : base(serviceProvider, log, optionsService) { _packageService = packageService; _utilsService = utilsService; _shellHelperService = shellHelperService; _shellStatusBarService = shellStatusBarService; _shellReferenceService = shellReferenceService; _shellSelectionService = shellSelectionService; }