Ejemplo n.º 1
0
        public DomainLoader(IWebClientFactory client, IDataWriter writer, string domain)
        {
            client.ThrowIfNull(nameof(client));
            writer.ThrowIfNull(nameof(writer));
            _domain = Url.Create(domain);

            _client     = client;
            _writer     = writer;
            _simplifier = new HtmlSimplifier();
            _queue.Enqueue(_domain);
        }