MarkdownReferencesExtensions

StockSharp.Web.Api.Interfaces

Turns what a parser found in a text into the request that asks the server to resolve it.

Методы

IsEmpty
public static bool IsEmpty(MarkdownReferences references)
result = MarkdownReferencesExtensions.IsEmpty(references)

Whether there is anything to ask the server about.

references
Collected references.

Возвращает: when the text quotes nothing that needs resolving.

ToReferences
public static MarkdownReferences ToReferences(ParsedMarkdown parsed)
result = MarkdownReferencesExtensions.ToReferences(parsed)

Collects the references a parsed text makes.

parsed
Parsed markdown.

Возвращает: Request to resolve them.