public ConfiguratorViewModel(IApplicationLogger logger, IEventAggregator events, IApplicationCommands commands, ITemplateManager templateManager, IDriveDetector driveDetector, IMessageDisplayService messageService, ElementViewModelFactory elementFactory, IConfiguratorService configurator, IVariableStore variables) { _logger = logger; _templateManager = templateManager; _driveDetector = driveDetector; _messageService = messageService; _elementFactory = elementFactory; _configurator = configurator; _variables = variables; Title = "Configurator"; events.GetEvent <TemplateSelectedEvent>().Subscribe(OnTemplateSelected); events.GetEvent <ScanDrivesCompletedEvent>().Subscribe(OnScanDrivesCompleted); ImportCommand = new DelegateCommand(OnImport, () => true); commands.ImportCommand.RegisterCommand(ImportCommand); PrevPageCommand = new DelegateCommand <PageViewModel>(OnPrevPage, CanPrevPage); NextPageCommand = new DelegateCommand <PageViewModel>(OnNextPage, page => true); RescanCommand = new DelegateCommand(OnScanDrives, () => !IsScanning); RescanCommand.Execute(); }
public TseCandidateAssetsParser(ITseCandidateAssetsFileParser fileParser, IFileService fileService, IConfiguratorService configuratorService, IClockService clockService, ILogService logService) { this.fileParser = fileParser; this.fileService = fileService; this.configurator = configuratorService; this.clockService = clockService; this.logService = logService; }
public TseCandidateParser(ILogService logService, IConfiguratorService configurator, ITseCandidatesFileParser candidatesFileParser, IFileService fileService, IClockService clockService, IDatabaseService databaseService) { this.logService = logService; this.configurator = configurator; this.candidatesFileParser = candidatesFileParser; this.fileService = fileService; this.clockService = clockService; this.databaseService = databaseService; }
public ResultService(ILogService logService, IConfiguratorService configuratorService, IFileService fileService) { this.logService = logService; this.configuratorService = configuratorService; this.fileService = fileService; }
public LogService(IConfiguratorService configuratorService) { this.configuratorService = configuratorService; }
/// <summary> /// Resolve interfaces used by the console application /// </summary> private static void ResolveInterfaces() { logService = container.Resolve <ILogService>(); commandsManager = container.Resolve <ICommandsManager>(); configuratorService = container.Resolve <IConfiguratorService>(); }
public DatabaseService(IServiceResolver serviceResolver, IConfiguratorService configuratorService, IClockService clockService) { this.serviceResolver = serviceResolver; this.configuratorService = configuratorService; this.clockService = clockService; }