IDocumentFactory
Represents the factory for creating documents from responses.
using AngleSharp.Dom;
using System.Threading;
using System.Threading.Tasks;
namespace AngleSharp.Services
{
public interface IDocumentFactory
{
Task<IDocument> CreateAsync(IBrowsingContext context, CreateDocumentOptions options, CancellationToken cancellationToken);
}
}