SiteSettingsPromptExtensions
StockSharp.Web.DomainModel
Methods
GetPrompt
public static string GetPrompt(SiteSettings settings, long id)
result = SiteSettingsPromptExtensions.GetPrompt(settings, id)
The stored text of a prompt, empty when the site has none for it.
GetPromptAttempts
public static int GetPromptAttempts(SiteSettings settings, long id, int fallback)
result = SiteSettingsPromptExtensions.GetPromptAttempts(settings, id, fallback)
How many times the scenario built on this prompt may go back to the model, or where the site has not said.