SiteCounterParser
Ecng.Markdown.Extensions
Parses "@indicator_count", "@connector_count", "@user_count", "@strategy_count" and "@app_count".
Наследует: InlineParser
Конструкторы
SiteCounterParser
public SiteCounterParser()
siteCounterParser = SiteCounterParser()
Initializes a new instance of the SiteCounterParser class.
Методы
Match
public override bool Match(InlineProcessor processor, StringSlice slice)
result = siteCounterParser.Match(processor, slice)
ToToken
public static string ToToken(SiteCounters counter)
result = SiteCounterParser.ToToken(counter)
The token a counter is written as, so an unresolved one can be put back the way it was typed.
TryParseName
public static bool TryParseName(string name, SiteCounters counter)
result = SiteCounterParser.TryParseName(name, counter)
The counter a written name stands for, e.g. "connector" for Connectors.