Interface IDocumentFactory
- Namespace
- AngleSharp.Dom
- Assembly
- AngleSharp.dll
Represents the factory for creating documents from responses.
public interface IDocumentFactory
- Extension Methods
Methods
CreateAsync(IBrowsingContext, CreateDocumentOptions, CancellationToken)
Creates a new attribute selector from the given arguments.
Task<IDocument> CreateAsync(IBrowsingContext context, CreateDocumentOptions options, CancellationToken cancellationToken)
Parameters
context
IBrowsingContextThe browsing context to use.
options
CreateDocumentOptionsThe options to consider.
cancellationToken
CancellationTokenThe cancellation token.