public ConfigurationController( OcelotConfigSectionRepository sectionRepo, OcelotCompleteConfigRepository fullConfigRepo, IConfigurationValidator validator) { _sectionRepo = sectionRepo; _fullConfigRepo = fullConfigRepo; _validator = new OcelotConfigValidation(_sectionRepo, validator); _logger = LogManager.GetLogger("apigatewayadmin"); }
public OcelotConfigValidation(OcelotConfigSectionRepository repository, IConfigurationValidator validator) { _validator = validator; _repository = repository; }