public SitemapCreateJob() { IsStoppable = true; this._sitemapRepository = ServiceLocator.Current.GetInstance<ISitemapRepository>(); this._sitemapXmlGeneratorFactory = ServiceLocator.Current.GetInstance<SitemapXmlGeneratorFactory>(); }
public GetaSitemapController(ISitemapRepository sitemapRepository, SitemapXmlGeneratorFactory sitemapXmlGeneratorFactory) { _sitemapRepository = sitemapRepository; _sitemapXmlGeneratorFactory = sitemapXmlGeneratorFactory; }
public SitemapCreateJob() { this._sitemapRepository = new SitemapRepository(); this._sitemapXmlGeneratorFactory = new SitemapXmlGeneratorFactory(this._sitemapRepository); }