public MicroservicesController(
     ILogger <MicroservicesController> logger,
     IProxyHostService proxyHostService,
     IHttpContextAccessor httpContextAccessor
     )
 {
     _logger              = logger;
     _proxyHostService    = proxyHostService;
     _httpContextAccessor = httpContextAccessor;
 }
示例#2
0
 public ProxyMessageService(
     IProxyHostService proxyHostService,
     IHttpClientFactory clientFactory,
     IMessageCacheService cacheService,
     ILogger <ProxyMessageService> logger
     )
 {
     _proxyHostService = proxyHostService;
     _clientFactory    = clientFactory;
     _cacheService     = cacheService;
     _logger           = logger;
 }