SiteCounterText
Ecng.Markdown
What a site counter reads as once its value is known: the number, and the word form the number asks for when the author wrote the forms ("@user_count(пользователь/пользователя/пользователей)").
メソッド
TryResolve
public static string TryResolve(string key, IReadOnlyList<string> forms, ResolvedMarkdownData data)
result = SiteCounterText.TryResolve(key, forms, data)
The text a counter stands for.
- key
- The key the host resolves the counter by.
- forms
- The word forms written after it, in the order its language's plural rule counts them; empty when the number stands alone.
- data
- The resolved data.
戻り値: The number with its word form, or null when the value is not known.