ListItemParser Class
A parser base class for a list item.
public abstract class ListItemParserConstructors
| Name | Description |
|---|---|
| ListItemParser() |
ListItemParser()
protected ListItemParser()No documentation is available.
Properties
| Name | Description |
|---|---|
| OpeningCharacters | Defines the characters that are used for detecting this list item. |
OpeningCharacters
ListItemParser.csDefines the characters that are used for detecting this list item.
public char[]? OpeningCharacters { get; protected set; }Property value
char[]?
Methods
| Name | Description |
|---|---|
| TryParse(BlockProcessor, char, ListInfo) | Tries to parse the current input as a list item for this particular instance. |
TryParse(BlockProcessor, char, ListInfo)
Tries to parse the current input as a list item for this particular instance.
public abstract bool TryParse(BlockProcessor state, char pendingBulletType, out ListInfo result)Parameters
stateBlockProcessor- The block processor
pendingBulletTypechar- The type of the current bullet type
resultListInfo- The result of parsing
Returns
bool true if parsing was successful; false otherwise