Jaa


TextTemplate Class

Definition

Defines an text Template where the template expression is local aka "inline" and processed through registered ILanguageGenerator.

public class TextTemplate : Microsoft.Bot.Builder.Dialogs.ITemplate<string>
type TextTemplate = class
    interface ITemplate<string>
Public Class TextTemplate
Implements ITemplate(Of String)
Inheritance
TextTemplate
Implements

Constructors

TextTemplate(String)

Initializes a new instance of the TextTemplate class.

Fields

Kind

Class identifier.

Properties

Template

Gets or sets the template to evaluate to create the text.

Methods

BindAsync(DialogContext, Object, CancellationToken)

Given the turn context bind to the data to create the object of type string.

ToString()

Returns a string that represents TextTemplate.

Applies to