public SitemapLib(ILogger <SitemapLib> logger, IUrlRetriever urlRetriever, ISerializedXmlSaver <Sitemap> serializedXmlSaver, IConfiguration configuration) { _logger = logger; _urlRetriever = urlRetriever; _serializedXmlSaver = serializedXmlSaver; _configuration = configuration; _cloudinaryBaseUrl = _configuration.GetSection("FwlSettings:CloudinarySettings:BaseUrl").Value; }
public void SetUp() { _sitemapIndexSerializerMock = Substitute.For <ISerializedXmlSaver <SitemapIndex> >(); _sitemapIndexGenerator = new SitemapIndexGenerator(_sitemapIndexSerializerMock); }
internal SitemapGenerator(ISerializedXmlSaver <Sitemap> serializedXmlSaver) { _serializedXmlSaver = serializedXmlSaver; }
public SitemapGenerator() { _serializedXmlSaver = new SerializedXmlSaver <Sitemap>(new FileSystemWrapper()); }
public void SetUp() { _sitemapSerializerMock = Substitute.For<ISerializedXmlSaver<Sitemap>>(); _sitemapGenerator = new SitemapGenerator(_sitemapSerializerMock); }
public void SetUp() { _sitemapSerializer = new SerializedXmlSaver <Sitemap>(new FileSystemWrapper()); _sitemapGenerator = new SitemapGenerator(_sitemapSerializer); }
public void SetUp() { _fileSystemWrapper = new TestFileSystemWrapper(); _sitemapIndexSerializer = new SerializedXmlSaver <SitemapIndex>(_fileSystemWrapper); _sitemapIndexGenerator = new SitemapIndexGenerator(_sitemapIndexSerializer); }
public void SetUp() { _sitemapSerializer = new SerializedXmlSaver <List <Url> >(new TestFileSystemWrapper()); _sitemapGenerator = new SitemapGenerator(_sitemapSerializer); }
public SitemapIndexGenerator(ISerializedXmlSaver <SitemapIndex> serializedXmlSaver) { _serializedXmlSaver = serializedXmlSaver; }
public SitemapIndexGenerator() { _serializedXmlSaver = new SerializedXmlSaver<SitemapIndex>(new FileSystemWrapper()); }
internal SitemapIndexGenerator(ISerializedXmlSaver<SitemapIndex> serializedXmlSaver) { _serializedXmlSaver = serializedXmlSaver; }
internal SitemapGenerator(ISerializedXmlSaver <List <Url> > serializedXmlSaver) { _serializedXmlSaver = serializedXmlSaver; }