public ChaosProxyDelegatingHandler(IChaosProxyHostSettings chaosProxyHostSettings, IChaosHttpClientFactory httpClientFactory, IApiSettingsData apiSettingsData, IApiHostCache apiHostCache) { _chaosProxyHostSettings = chaosProxyHostSettings; _chaosHttpClientFactory = httpClientFactory; _apiHostCache = apiHostCache; }
public ConfigurationController(ICacheInvalidator cacheInvalidator, IApiSettingsData apiSettingsData, IApiChaosConfigurationSettingsData chaosConfigurationSettings, IChaosProxyHostSettings chaosProxyHostSettings) { _cacheInvalidator = cacheInvalidator; _apiSettingsData = apiSettingsData; _chaosConfigurationSettings = chaosConfigurationSettings; _chaosProxyHostSettings = chaosProxyHostSettings; }
public ConfigurationController(ICacheInvalidator cacheInvalidator, IApiSettingsData apiSettingsData, IApiChaosConfigurationSettingsData chaosConfigurationSettings, IChaosProxyHostSettings chaosProxyHostSettings) { this.cacheInvalidator = cacheInvalidator; this.apiSettingsData = apiSettingsData; this.chaosConfigurationSettings = chaosConfigurationSettings; this.chaosProxyHostSettings = chaosProxyHostSettings; var mapperConfiguration = new MapperConfiguration(cfg => cfg.CreateMap<ApiConfiguration, ClientProxyApiConfiguration>()); mapper = mapperConfiguration.CreateMapper(); }
public ChaosProxyDelegatingHandler(IChaosProxyHostSettings chaosProxyHostSettings, IChaosHttpClientFactory httpClientFactory, IApiSettingsData apiSettingsData) { this.chaosProxyHostSettings = chaosProxyHostSettings; chaosHttpClientFactory = httpClientFactory; this.apiSettingsData = apiSettingsData; }