AngleSharp by AngleSharp

<PackageReference Include="AngleSharp" Version="1.3.0" />

.NET API 960,512 bytes

 CreateDocumentOptions

public sealed class CreateDocumentOptions
Data transport class to abstract common options in document creation.
public MimeType ContentType { get; }

Gets the provided content-type.

public IDocument ImportAncestor { get; }

Gets the import ancestor, if any.

public IResponse Response { get; }

Gets the response to create the document for.

public TextSource Source { get; }

Gets the text source that came with the response.

public CreateDocumentOptions(IResponse response, Encoding encoding = null, IDocument ancestor = null)

Creates a new set of document options from the given response with the provided configuration.