private bool OnParsing(ref char c, ref char prev, ref char peek, out bool cont)
        {
            var e = new HtmlReaderParseEventArgs(Value, _rawValue)
            {
                Eof               = _eof,
                CurrentElement    = _currentElement,
                CurrentCharacter  = c,
                PreviousCharacter = prev,
                PeekCharacter     = peek,
                EatNextCharacters = _eatNext,
                State             = ParserState
            };

            OnParsing(this, e);
            cont = e.Continue;
            _eof = e.Eof;
            prev = e.PreviousCharacter;
            c    = e.CurrentCharacter;
            SetCurrentElement(e.CurrentElement);
            peek        = e.PeekCharacter;
            _eatNext    = e.EatNextCharacters;
            ParserState = e.State;
            if (e.Cancel)
            {
                return(false);
            }

            return(true);
        }
 private void OnParsing(object sender, HtmlReaderParseEventArgs e)
 {
     Parsing?.Invoke(sender, e);
 }
 protected virtual void OnParsing(object sender, HtmlReaderParseEventArgs e)
 {
     Parsing?.Invoke(sender, e);
 }
 private void OnParsing(HtmlReaderParseEventArgs e)
 {
     Parsing?.Invoke(this, e);
 }