Templates.Evaluate(String, Object, EvaluationOptions) Метод

Определение

Оцените шаблон с заданным именем и областью.

public object Evaluate(string templateName, object scope = default, Microsoft.Bot.Builder.LanguageGeneration.EvaluationOptions opt = default);
member this.Evaluate : string * obj * Microsoft.Bot.Builder.LanguageGeneration.EvaluationOptions -> obj
Public Function Evaluate (templateName As String, Optional scope As Object = Nothing, Optional opt As EvaluationOptions = Nothing) As Object

Параметры

templateName
String

Имя шаблона для оценки.

scope
Object

Состояние, видимое в оценке.

opt
EvaluationOptions

EvaluationOptions при оценке шаблона.

Возвращаемое значение

Оцените результат.

Применяется к