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 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 FileProcessor(ILog log, ILanguageService languageService, IShellSelectionService shellSelectionService, IShellProjectService shellProjectService, IShellCodeModelService shellCodeModelService, IFileTypeResolver fileTypeResolver) { _log = log; _languageService = languageService; _shellSelectionService = shellSelectionService; _shellProjectService = shellProjectService; _shellCodeModelService = shellCodeModelService; _fileTypeResolver = fileTypeResolver; }
public CodeBrowserFeature(IServiceProvider serviceProvider, ILog log, IOptionsService optionsService, IShellSelectionService shellSelectionService, IModalDialogService dialogService, IFileProcessor fileProcessor, ILanguageService languageService, IMessageService messageService) : base(serviceProvider, log, optionsService) { _shellSelectionService = shellSelectionService; _dialogService = dialogService; _fileProcessor = fileProcessor; _languageService = languageService; _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; }
public CodeBrowserViewModel(IServiceProvider serviceProvider, ILog log, IMessageService messageService, IOptionsService optionsService, IFileProcessor fileProcessor, ISearchMatchService searchMatchService, IShellSelectionService shellSelectionService, IShellImageService shellImageService) : base(KnownFeature.CodeBrowser, serviceProvider) { _log = log; _messageService = messageService; _optionsService = optionsService; _fileProcessor = fileProcessor; _searchMatchService = searchMatchService; _shellSelectionService = shellSelectionService; _shellImageService = shellImageService; // Source members must be setup in constructor or view won't show any binding data _sourceMembers = new ObservableCollection <MemberCodeModel>(); _members = new CollectionViewSource { Source = _sourceMembers }; // must be ObservableCollection this.ShowAllMembersCommand = new RelayCommand(_messageService, OnShowAllMembers, OnCanShowAllMembers); this.SelectMemberCommand = new RelayCommand(_messageService, OnSelectMember, OnCanSelectMember); }
public BookmarksFeature(IServiceProvider serviceProvider, ILog log, IOptionsService optionsService, IBookmarksService bookmarksService, IShellSelectionService shellSelectionService) : base(serviceProvider, log, optionsService) { _bookmarksService = bookmarksService; _shellSelectionService = shellSelectionService; }
public FileBrowserFeature(IServiceProvider serviceProvider, ILog log, IOptionsService optionsService, IShellSelectionService shellSelectionService, IModalDialogService dialogService) : base(serviceProvider, log, optionsService) { _shellSelectionService = shellSelectionService; _dialogService = dialogService; }