Templates.Evaluate(String, Object, EvaluationOptions) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Evaluate a template with given name and scope.
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
Parameters
- templateName
- String
Template name to be evaluated.
- scope
- Object
State visible in the evaluation.
EvaluationOptions in evaluating a template.
Returns
Evaluate result.