MarkdownReferencesExtensions
StockSharp.Web.Api.Interfaces
Turns what a parser found in a text into the request that asks the server to resolve it.
Methods
IsEmpty
public static bool IsEmpty(MarkdownReferences references)
result = MarkdownReferencesExtensions.IsEmpty(references)
Whether there is anything to ask the server about.
- references
- Collected references.
Returns: 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.
Returns: Request to resolve them.