Click or drag to resize

imbStringMarkdownExtensionsmarkdownList Method

imbSCI | imbACE | imbNLP | imbWEM | imbWBI
Creates list from collection of [strings, IEnumerable or Objects]

Namespace:  imbSCI.Core.reporting.lowLevelApi
Assembly:  imbSCI.Core (in imbSCI.Core.dll) Version: 0.3.58.
Syntax
C#
public static string markdownList(
	this IEnumerable list,
	bool isOrderedList = false,
	StringBuilder sb = null,
	int level = 0
)
Request Example View Source

Parameters

list
Type: System.CollectionsIEnumerable
IEnumerable may contain strings, IEnumerable or Object.toStringSafe()
isOrderedList (Optional)
Type: SystemBoolean
Is numeric or button list
sb (Optional)
Type: System.TextStringBuilder
String builder
level (Optional)
Type: SystemInt32
What is current level of list

Return Value

Type: String
Well formed markdown list

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IEnumerable. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also