public MainWindowModel( ISelectExecuteFileService selectExecuteFileService, IShortcutService shortcutService, IDialogService dialogService, IOpenExolorerService openExolorerService) { _selectExecuteFileService = selectExecuteFileService; _shortcutService = shortcutService; _dialogService = dialogService; _openExolorerService = openExolorerService; _wathcer = new FileSystemWatcher(StartupPath, "*.*") { EnableRaisingEvents = true }; StartupShortcuts = new[] { _wathcer.CreatedAsObservable(), _wathcer.ChangedAsObservable(), _wathcer.DeletedAsObservable(), _wathcer.RenamedAsObservable() } .Merge() .Select(_ => GetStartupShorcuts()) .ToReadOnlyReactivePropertySlim(GetStartupShorcuts()); }
public ShortcutController(IShortcutService shortcutService, IOptions <AppSettings> appSettings, IBusinessService businessService, ILoggingService logService) { _shortcutService = shortcutService; _appSettings = appSettings; _logService = logService; _businessService = businessService; }
public ShortcutController(IShortcutService shortcutService, IHttpContextAccessor httpContextAccessor, IHttpHelper httpHelper, IOptions <PagerOptions> pagerOptions) : base(httpContextAccessor) { _httpHelper = httpHelper; _shortcutService = shortcutService; _pagerOptions = pagerOptions.Value; }
public ShortcutsController( IShortcutService shortcutService, ICategoryService categoryService, IApplicationService applicationService) { this.shortcutService = shortcutService; this.categoryService = categoryService; this.applicationService = applicationService; }
public RateItViewModel(IShortcutService shortcutService, IActionProvider actionProvider, ISegmentSupervisor segmentSupervisor, IMessageBoxService messageBoxService, EditorController editorController) { _actionProvider = actionProvider; _segmentSupervisor = segmentSupervisor; _messageBoxService = messageBoxService; _editorController = editorController; _shortcutService = shortcutService; Initialize(); UpdateActionTooltips(); }
public DesignerAppService() { ProcessService = new DesignerProcessService(); ShortcutService = new DesignerShortcutService(); }
/// <summary> /// /// </summary> /// <param name="consultationService"></param> /// <param name="shortcutService"></param> /// <param name="userManagementService"></param> public ConsultationController(IConsultationService consultationService, IShortcutService shortcutService, IUserManagementService userManagementService) { _consultationService = consultationService; _shortcutService = shortcutService; _userManagementService = userManagementService; }
public ShortcutController(IShortcutService shortCutService) { this.shortCutService = shortCutService; }
public AppService(IProcessService processService, IShortcutService shortcutService) { ProcessService = processService; ShortcutService = shortcutService; }
private void initialize(int sensorIdx) { Enabled = true; LastGesture = String.Empty; lastGestureTime = DateTime.Now; processService = SpringUtil.getService<IProcessService>(); sensorService = SpringUtil.getService<ISensorService>(); shortcutService = SpringUtil.getService<IShortcutService>(); gestureService = SpringUtil.getService<IGestureService>(); configService = SpringUtil.getService<IConfigService>(); this.sensorIdx = sensorIdx; sensorService.startSensor(sensorIdx); gestureService.enableGestureService(sensorService.getSensor(sensorIdx)); }
public NamedPipesSingletonService(IShortcutService shortcutService) { _shortcutService = shortcutService; }
public ShortcutResolver(IShortcutService shortcutService, IOptions <PagerOptions> pagerOptions) : base() { _shortcutService = shortcutService; _pagerOptions = pagerOptions.Value; }
public AppShortcutsWindow(IShortcutService shortcutService) { DataContext = new AppShortcutsViewModel(shortcutService); InitializeComponent(); }