Пример #1
0
        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;
 }
Пример #3
0
 public SitemapCreateJob()
 {
     this._sitemapRepository = new SitemapRepository();
     this._sitemapXmlGeneratorFactory = new SitemapXmlGeneratorFactory(this._sitemapRepository);
 }