Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

MarkdownOrderedListBuilder

OfficeIMO.Markdown

Namespace
OfficeIMO.Markdown
Assembly
OfficeIMO.Markdown
Source revision
e163ccb36643 with working tree changes
Modifiers
sealed

Builder for ordered lists.

Inheritance

  • object
  • MarkdownOrderedListBuilder

Usage

Explore 7 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Accepted by parameters 2

Constructors

public MarkdownOrderedListBuilder() #

Methods

public MarkdownOrderedListBuilder Item(string text) #

Adds a plain text item.

Parameters

text string required
public MarkdownOrderedListBuilder Items(IEnumerable<string> items) #

Adds multiple items from a sequence of values using ToString().

Parameters

items System.Collections.Generic.IEnumerable<string> required
public MarkdownOrderedListBuilder Items<T>(IEnumerable<T?> items, Func<T?, string>? selector = null) #

Adds multiple items using a selector to format each element.

Type Parameters

T

Parameters

items System.Collections.Generic.IEnumerable<T?> required
selector System.Func<T?, string>? = null optional
public MarkdownOrderedListBuilder StartAt(int start) #

Sets the starting number (1-based).

Parameters

start int required