public ScreenCaster(Conductor conductor, ICursorIconWatcher cursorIconWatcher, ISessionIndicator sessionIndicator, IShutdownService shutdownService) { _conductor = conductor; _cursorIconWatcher = cursorIconWatcher; _sessionIndicator = sessionIndicator; _shutdownService = shutdownService; }
public LimitHandler(Mediator mediator, IUserSettingsService userSettingsService, ILogger logger, IShutdownService shutdownService) { this.mediator = mediator; this.userSettingsService = userSettingsService; this.logger = logger; this.shutdownService = shutdownService; }
public MainWindowViewModel(ICommandCenterService commandCenterService, IConfigService configService, IMessageService messageService, IShutdownService shutdownService, IWindowService windowService) { this.commandCenterService = commandCenterService; this.configService = configService; this.messageService = messageService; this.shutdownService = shutdownService; this.windowService = windowService; Initialize(); }
public MainViewModel( IMessenger messenger, IConfigurationService configurationService, IConfigurationViewModelFactory configurationViewModelFactory, IJobViewModelFactory jobViewModelFactory, IJobProcessorFactory jobProcessorFactory, IShutdownService shutdownService) : base(messenger) { this.configurationService = configurationService; this.configurationViewModelFactory = configurationViewModelFactory; this.jobViewModelFactory = jobViewModelFactory; this.jobProcessorFactory = jobProcessorFactory; this.shutdownService = shutdownService; this.LoadConfiguration(); this.InitialiseCommands(); Application.Current.Exit += (sender, args) => this.SaveConfiguration(); }