/// <summary> /// Constructor to inject dependencies into the handler /// </summary> public XmlSitemapHandler(IDependencyFactory dependencyFactory) { _sitemapCache = dependencyFactory.CreateCache(); _generator = dependencyFactory.CreateGenerator(); _contentEngine = dependencyFactory.CreateEngine(); _logger = dependencyFactory.CreateLogger(); }