public HtmlReaderState(HtmlReader reader, HtmlParserState rawParserState, string rawValue) { Reader = reader ?? throw new ArgumentNullException(nameof(reader)); Line = reader.Line; Column = reader.Column; Offset = reader.Offset; RawValue = rawValue; RawParserState = rawParserState; QuoteChar = reader.QuoteChar; }
public HtmlDocumentParseEventArgs(HtmlReader reader) { Reader = reader ?? throw new ArgumentNullException(nameof(reader)); }