TemplateInterface interface

Defines Template interface for binding data to T.

Methods

bind(DialogContext, D)

Given the turn context bind to the data to create the object

Method Details

bind(DialogContext, D)

Given the turn context bind to the data to create the object

function bind(dialogContext: DialogContext, data?: D): Promise<T>

Parameters

dialogContext
DialogContext

DialogContext.

data

D

Data to bind to.

Returns

Promise<T>

Instance of T.