private SettingsViewModel NewViewModel(IDesktopServiceSettings desktopServiceSettings = null, IDialogInteractionService dialogInteractionService = null, IConnectivityService connectivityService = null) { return(new SettingsViewModel( desktopServiceSettings ?? Mock.Of <IDesktopServiceSettings>(), dialogInteractionService ?? Mock.Of <IDialogInteractionService>(), connectivityService ?? Mock.Of <IConnectivityService>())); }
private DesktopReferenceDataDownloadService NewService( IReferenceDataResultClient apiClient = null, IDesktopServiceSettings desktopServiceSettings = null, IFileService fileService = null, ILogger logger = null) { return(new DesktopReferenceDataDownloadService(apiClient, desktopServiceSettings, fileService, logger ?? Mock.Of <ILogger>())); }
public DesktopContextFactory(IDateTimeProvider dateTimeProvider, IDesktopServiceSettings desktopServiceSettings, IReportFilterService reportFilterService, IAssemblyService assemblyService, IReleaseVersionInformationService releaseVersionInformationService) { _dateTimeProvider = dateTimeProvider; _desktopServiceSettings = desktopServiceSettings; _reportFilterService = reportFilterService; _assemblyService = assemblyService; _releaseVersionInformationService = releaseVersionInformationService; }
public VersionMediatorServiceTestClass( IVersionFactory versionFactory, IReleaseVersionInformationService versionInformationService, IVersionService versionService, IDesktopServiceSettings desktopServiceSettings, ILogger logger = null) : base(versionFactory, versionInformationService, versionService, desktopServiceSettings, logger) { }
public DesktopReferenceDataDownloadService( IReferenceDataResultClient apiClient, IDesktopServiceSettings desktopServiceSettings, IFileService fileService, ILogger logger) { _apiClient = apiClient; _desktopServiceSettings = desktopServiceSettings; _fileService = fileService; _logger = logger; }
private VersionMediatorServiceTestClass GetVersionMediatorService( IVersionFactory versionFactory = null, IReleaseVersionInformationService versionInformationService = null, IVersionService versionService = null, IDesktopServiceSettings desktopServiceSettings = null) { return(new VersionMediatorServiceTestClass( versionFactory ?? Mock.Of <IVersionFactory>(), versionInformationService ?? Mock.Of <IReleaseVersionInformationService>(), versionService ?? Mock.Of <IVersionService>(), desktopServiceSettings ?? Mock.Of <IDesktopServiceSettings>())); }
public VersionMediatorService( IVersionFactory versionFactory, IReleaseVersionInformationService releaseVersionInformationService, IVersionService versionService, IDesktopServiceSettings desktopServiceSettings, ILogger logger) { _versionFactory = versionFactory; _releaseVersionInformationService = releaseVersionInformationService; _versionService = versionService; _desktopServiceSettings = desktopServiceSettings; _logger = logger; }
public SettingsViewModel( IDesktopServiceSettings desktopServiceSettings, IDialogInteractionService dialogInteractionService, IConnectivityService connectivityService) { _dialogInteractionService = dialogInteractionService; _connectivityService = connectivityService; _desktopServiceSettings = desktopServiceSettings; ChooseOutputDirectoryCommand = new RelayCommand(ChooseOutputDirectory); SaveSettingsCommand = new AsyncCommand <ICloseable>(SaveSettings, CanSave); CloseWindowCommand = new RelayCommand <ICloseable>(CloseWindow); TestConnectionStringCommand = new AsyncCommand(TestConnectionString, CanTestConnectionString); _ilrDatabaseConnectionString = _desktopServiceSettings.IlrDatabaseConnectionString; _outputDirectory = _desktopServiceSettings.OutputDirectory; _exportToSql = _desktopServiceSettings.ExportToSql; _exportToAccessAndCsv = _desktopServiceSettings.ExportToAccessAndCsv; }
private DesktopContextFactory NewFactory(IDesktopServiceSettings desktopServiceSettings = null, IDateTimeProvider dateTimeProvider = null, IDesktopSettingsDefaultsService desktopSettingsDefaultsService = null, IAssemblyService assemblyService = null, IReleaseVersionInformationService releaseVersionInformation = null) { return(new DesktopContextFactory(desktopServiceSettings, dateTimeProvider, desktopSettingsDefaultsService, releaseVersionInformation, assemblyService)); }
private ReferenceDataVersionInformationService NewService(IServiceConfiguration serviceConfiguration = null, IDesktopServiceSettings desktopServiceSettings = null) { return(new ReferenceDataVersionInformationService(serviceConfiguration, desktopServiceSettings)); }
private IlrPipelineProvider NewProvider(IDesktopServiceSettings desktopServiceSettings = null) { return(new IlrPipelineProvider(desktopServiceSettings)); }
public ReferenceDataVersionInformationService(IServiceConfiguration serviceConfiguration, IDesktopServiceSettings desktopServiceSettings) { _serviceConfiguration = serviceConfiguration; _desktopServiceSettings = desktopServiceSettings; }
public DesktopSettingsDefaultsService(IDesktopServiceSettings desktopServiceSettings) { _desktopServiceSettings = desktopServiceSettings; }
public IlrPipelineProvider(IDesktopServiceSettings desktopServiceSettings) { _desktopServiceSettings = desktopServiceSettings; }