Microsoft.Bot.Builder.FormFlow.Advanced.IPrompt< T > Interface Template Reference

Interface for a prompt and its associated recognizer. More...

Inheritance diagram for Microsoft.Bot.Builder.FormFlow.Advanced.IPrompt< T >:

Public Member Functions

FormPrompt Prompt (T state, IField< T > field, params object[] args)
 Return prompt to send to user. More...
 

Properties

TemplateBaseAttribute Annotation [get]
 Description of the prompt and how to generate it. More...
 
IRecognize< T > Recognizer [get]
 Associated recognizer if any. More...
 

Detailed Description

Interface for a prompt and its associated recognizer.

Template Parameters
TForm state.

This interface allows taking a Pattern Language expression and making it into a string with the template parts filled in.

Type Constraints
T :class 

Definition at line 56 of file IPrompt.cs.

Member Function Documentation

FormPrompt Microsoft.Bot.Builder.FormFlow.Advanced.IPrompt< T >.Prompt ( state,
IField< T >  field,
params object[]  args 
)

Return prompt to send to user.

Parameters
stateCurrent form state.
fieldCurrent field being processed.
argsOptional arguments.
Returns
Message to user.

Implemented in Microsoft.Bot.Builder.FormFlow.Advanced.Prompter< T >.

Property Documentation

Description of the prompt and how to generate it.

Returns
Attribute describing how to generate prompt.

Definition at line 63 of file IPrompt.cs.

Associated recognizer if any.

Returns
Recognizer for matching user input.

Definition at line 78 of file IPrompt.cs.


The documentation for this interface was generated from the following file: