Share via


ActivityTemplate Class

Definition

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

public class ActivityTemplate : Microsoft.Bot.Builder.Dialogs.ITemplate<Microsoft.Bot.Schema.Activity>
type ActivityTemplate = class
    interface ITemplate<Activity>
Public Class ActivityTemplate
Implements ITemplate(Of Activity)
Inheritance
ActivityTemplate
Implements

Constructors

ActivityTemplate()

Initializes a new instance of the ActivityTemplate class.

ActivityTemplate(String)

Initializes a new instance of the ActivityTemplate class.

Fields

Kind

Class identifier.

Properties

Template

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

Methods

BindAsync(DialogContext, Object, CancellationToken)

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

ToString()

Returns a string that represents ActivityTemplate.

Applies to