public HomePageConfigurationValidation( IContentConfiguration contentConfig, IOptions <WeatherForecastingConfiguration> weatherConfig, IProfanityChecker profanityChecker) { _profanityChecker = profanityChecker; _weatherConfig = weatherConfig.Value; _checkForProfanity = contentConfig.CheckForProfanity; }
/// <summary> /// Initializes a new instance of the <see cref="PopulateContentByCategoryIdResponseHydrator"/> class. /// </summary> /// <param name="contentDao"> /// The content dao. /// </param> /// <param name="contentConfiguration"> /// The content configuration. /// </param> public PopulateContentByCategoryIdResponseHydrator(ContentDao<Models.Content> contentDao, IContentConfiguration contentConfiguration) : base(contentDao, contentConfiguration) { }