public SetupService(IConfigurationDataService configurationDataService, IPostDataService postDataService, ICategoryDataService categoryService, ILog logger) { this.configurationDataService = configurationDataService; this.postDataService = postDataService; this.categoryService = categoryService; this.logger = logger; }
/// <inheritdoc /> public MigrationService( ILocalVersionService localVersionService, IDataService dataService, IBulkImportService bulkImportService, IConfigurationDataService configurationDataService, ITokenReplacementService tokenReplacementService, IDirectoryService directoryService, IFileService fileService, ITraceService traceService) : base( localVersionService, dataService, bulkImportService, configurationDataService, tokenReplacementService, directoryService, fileService, traceService ) { this._localVersionService = localVersionService; this._dataService = dataService; this._bulkImportService = bulkImportService; this._tokenReplacementService = tokenReplacementService; this._directoryService = directoryService; this._fileService = fileService; this._traceService = traceService; this._configurationDataService = configurationDataService; }
public SetupService(IConfigurationDataService configurationDataService, IPostDataService postDataService, ICategoryDataService categoryService, ILog logger) { this.configurationDataService = configurationDataService; this.postDataService = postDataService; this.categoryService = categoryService; this.logger = logger; }
/// <summary>Initializes a new instance of the <see cref="ConfigurationServiceImplementation"/> class.</summary> /// <param name="configurationDataService">The configuration data service.</param> public ConfigurationServiceImplementation(IConfigurationDataService configurationDataService = null) { if (configurationDataService == null) { configurationDataService = DAOFactoryMethod.CurrentDAOFactory.ConfigurationDataService; } this.configurationDataService = configurationDataService; }
public StandsViewModel(IConfigurationDataService dataService, INavigation navigationManager) : base(dataService, "Stands") { _dataService = dataService; _navigationManager = navigationManager; _configurationName = "Stands"; AddSelectedDataItem = new RelayCommand <ConfigurationDataItem>(OnAddItemCommandClicked); DeleteSelectedDataItem = new RelayCommand <PlacedDataItem>(OnDeleteItemCommandClicked); ItemDoubleClicked = new RelayCommand <PlacedDataItem>(OnItemDoubleClickCommandClicked); // TODO Load _addedItemsDictionary on startup }
public ControllerViewModel(IConfigurationDataService dataService, INavigation navigationManager) : base(dataService, "Controllers") { _dataService = dataService; _navigationManager = navigationManager; ConfigurationName = "Controllers"; AddSelectedDataItem = new RelayCommand <ConfigurationDataItem>(OnAddItemCommandClicked); DeleteSelectedDataItem = new RelayCommand <PlacedDataItem>(OnDeleteItemCommandClicked); EditSelectedDataItem = new RelayCommand <PlacedDataItem>(OnEditItemCommandClicked); ItemDoubleClicked = new RelayCommand <PlacedDataItem>(OnItemDoubleClickCommandClicked); // TODO Load _addedItemsDictionary on startup from unity }
public void ReadConfiguration_Delegates_To_Service() { ConfigurationDataEntity expectedEntity = new ConfigurationDataEntity() { Something = "some data", ServiceEndpoints = new ConcurrentDictionary <string, ServiceEndpointDetail>() }; IConfigurationDataService service = SetupConfigurationDataService(expectedEntity); ConfigurationDataResponse expectedResponse = new ConfigurationDataResponse(); IMapper mapper = SetupMapper(expectedResponse); var controller = new ConfigurationDataController(service, mapper); var response = SuccessfulRead(controller); Assert.Same(expectedResponse, response); }
public EmailNotificationJob(ILog logger, IEmailNotificationDataService emailNotificationDataService, IConfigurationDataService configurationDataService) { this.logger = logger; this.emailNotificationDataService = emailNotificationDataService; this.configurationDataService = configurationDataService; }
public CacheService(IConfigurationDataService configService) { _configService = configService; }
public ConfigManager(IConfigurationDataService configurationDataService, ICacheService cacheService) { _cacheService = cacheService; _configurationDataService = configurationDataService; }
public PublishedBackgroundTask(ItemDto item, IConfigurationDataService configurationDataService) { this.configuration = configurationDataService.GetConfiguration(); this.item = item; }
public void SetUp() { configurationDataServices = MockRepository.GenerateMock <IConfigurationDataService>(); configurationServices = new ConfigurationServiceImplementation(configurationDataServices); }
public ConfigurationService(ICacheProvider cacheProvider, IConfigurationDataService configurationDataService) { this.cacheProvider = cacheProvider; this.configurationDataService = configurationDataService; }
public ConfigurationService(ICacheProvider cacheProvider, IConfigurationDataService configurationDataService) { this.cacheProvider = cacheProvider; this.configurationDataService = configurationDataService; }
static PingHelper() { pingDataService = DexterContainer.Resolve <IPingDataService>(); configurationDataService = DexterContainer.Resolve <IConfigurationDataService>(); }
public PublishedBackgroundTask(ItemDto item, IConfigurationDataService configurationDataService) { this.configuration = configurationDataService.GetConfiguration(); this.item = item; }
public EmailNotificationJob(ILog logger, IEmailNotificationDataService emailNotificationDataService, IConfigurationDataService configurationDataService) { this.logger = logger; this.emailNotificationDataService = emailNotificationDataService; this.configurationDataService = configurationDataService; }
static PingHelper() { pingDataService = DexterContainer.Resolve<IPingDataService>(); configurationDataService = DexterContainer.Resolve<IConfigurationDataService>(); }
public ConfigurationDataController(IConfigurationDataService service, IMapper mapper) { Service = service; Mapper = mapper; }
public ConfigService(IConfigurationDataService configurationService) { ConfigurationService = configurationService; }