public HomePageConfigurationValidation( IContentConfiguration contentConfig, IOptions <WeatherForecastingConfiguration> weatherConfig, IProfanityChecker profanityChecker) { _profanityChecker = profanityChecker; _weatherConfig = weatherConfig.Value; _checkForProfanity = contentConfig.CheckForProfanity; }
public ExternalServicesConfigurationValidation(IOptions <WeatherForecastingConfiguration> weatherConfig) { _weatherConfig = weatherConfig.Value; }