ListInfo Struct
Defines list information returned when trying to parse a list item with ListItemParser.TryParse
public struct ListInfoConstructors
| Name | Description |
|---|---|
| ListInfo(char) | Initializes a new instance of the ListInfo struct. |
| ListInfo(char, string, char, string) | Initializes a new instance of the ListInfo struct. |
ListInfo overloads
ListInfo(char)
ListInfo.csListInfo(char, string, char, string)
ListInfo.csInitializes a new instance of the ListInfo struct.
public ListInfo(char bulletType, string orderedStart, char orderedDelimiter, string defaultOrderedStart)Parameters
bulletTypechar- Type of the bullet (e.g: '1', 'a', 'A', 'i', 'I')
orderedStartstring- The string used as a starting sequence for an ordered list.
orderedDelimiterchar- The ordered delimiter found when parsing this list (e.g: the character `)` after `1)`)
defaultOrderedStartstring- The default string used as a starting sequence for the ordered list (e.g: '1' for an numbered ordered list)
Properties
| Name | Description |
|---|---|
| BulletType | Gets or sets the type of the bullet (e.g: '1', 'a', 'A', 'i', 'I'). |
| DefaultOrderedStart | Gets or sets default string used as a starting sequence for the ordered list (e.g: '1' for an numbered ordered list) |
| OrderedDelimiter | Gets or sets the ordered delimiter found when parsing this list (e.g: the character `)` after `1)`) |
| OrderedStart | Gets or sets the string used as a starting sequence for an ordered list |
| SourceBullet | Gets or sets the source bullet. |