src/Markdig/Parsers/OrderedListItemParser.cs
/// <summary>
/// Utility method that tries to parse the delimiter coming after an ordered list start (e.g: the `)` after `1)`).
/// </summary>
/// <param name="state">The state.</param>
/// <param name="orderedDelimiter">The ordered delimiter found if this method is successful.</param>
/// <returns><c>true</c> if parsing was successful; <c>false</c> otherwise.</returns>
Utility method that tries to parse the delimiter coming after an ordered list start ` after `1)`).
Utility method that tries to parse the delimiter coming after an ordered list start ` after ` 1 ) ` ) .
protected bool TryParseDelimiter(BlockProcessor state, out char orderedDelimiter)
        {
            orderedDelimiter = state.CurrentChar;
            foreach (char delimiter in OrderedDelimiters)
            {
                if (delimiter == orderedDelimiter)
                {
                    state.NextChar();
                    return true;
                }
            }
            return false;
        }
protected bool TryParseDelimiter ( BlockProcessor state , out char orderedDelimiter ) { orderedDelimiter = state . CurrentChar ; foreach ( char delimiter in OrderedDelimiters ) { if ( delimiter == orderedDelimiter ) { state . NextChar ( ) ; return true ; } } return false ; }
Utility method that tries to parse the delimiter coming after an ordered list start (e.g: the `)` after `1)`).
Utility method that tries to parse the delimiter coming after an ordered list start ( e . g : the ` ) ` after ` 1 ) ` ) .
// Check if we have an ordered delimiter
None
state
BlockProcessor
None
char
out
orderedDelimiter
The ordered delimiter found if this method is successful.
The ordered delimiter found if this method is successful .