//protected ConnectionStrings _connStrings { get; } public ConfigService(IConfiguration config, AppSettings appSettings, ConfigSettings configSettings, ServicesEndpoints servicesEndpoints, IAppSettingsServiceMapper mapper)//, ConnectionStrings _connStrings) { _config = config; _appSettings = appSettings; _configSettings = configSettings; _servicesEndpoints = servicesEndpoints; _mapper = mapper; }
public ConfigService(IConfiguration config, AppSettings appSettings, ConnectionStrings connStrings, ServicesEndpoints servicesEndpoints) { _config = config; _appSettings = appSettings; _servicesEndpoints = servicesEndpoints; _connectionStrings = connStrings; }
public ServiceEndpointsResponse MapServiceEndpoints(ServicesEndpoints serviceEndpoints) { var result = new ServiceEndpointsResponse() { ServiceEndPoints = new Dictionary <string, ServiceEndpointAttributes>() }; foreach (var serviceEntry in serviceEndpoints.Services) { var value = new ServiceEndpointAttributes() { Url = serviceEntry.Value.Url }; result.ServiceEndPoints.Add(serviceEntry.Key, value); } return(result); }
public AlbumsService(IOptions <ServicesEndpoints> servicesEndpoints) { this.servicesEndpoints = servicesEndpoints.Value; }
public CryptoRepo(IHttpClientFactory httpClientFactory, ServicesEndpoints serviceEndpoints, ConnectionStrings connectionStrings) : base(connectionStrings) { _httpClientFactory = httpClientFactory; _serviceEndpoints = serviceEndpoints; }
public CommentsService(IOptions <ServicesEndpoints> servicesEndpoints) { this.servicesEndpoints = servicesEndpoints.Value; }