Templates.EvaluateText(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.
Evaluates an inline template string.
public object EvaluateText (string text, object scope = default, Microsoft.Bot.Builder.LanguageGeneration.EvaluationOptions opt = default);
member this.EvaluateText : string * obj * Microsoft.Bot.Builder.LanguageGeneration.EvaluationOptions -> obj
Public Function EvaluateText (text As String, Optional scope As Object = Nothing, Optional opt As EvaluationOptions = Nothing) As Object
Parameters
- text
- String
Inline string which will be evaluated.
- scope
- Object
Scope object or JToken.
EvaluationOptions in evaluating a template.
Returns
Evaluated result.