Prompter<T> Constructor
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.
Construct a prompter.
public Prompter (Microsoft.Bot.Builder.FormFlow.Advanced.TemplateBaseAttribute annotation, Microsoft.Bot.Builder.FormFlow.IForm<T> form, Microsoft.Bot.Builder.FormFlow.Advanced.IRecognize<T> recognizer, Microsoft.Bot.Builder.FormFlow.Advanced.IFields<T> fields = default);
new Microsoft.Bot.Builder.FormFlow.Advanced.Prompter<'T (requires 'T : null)> : Microsoft.Bot.Builder.FormFlow.Advanced.TemplateBaseAttribute * Microsoft.Bot.Builder.FormFlow.IForm<'T (requires 'T : null)> * Microsoft.Bot.Builder.FormFlow.Advanced.IRecognize<'T (requires 'T : null)> * Microsoft.Bot.Builder.FormFlow.Advanced.IFields<'T (requires 'T : null)> -> Microsoft.Bot.Builder.FormFlow.Advanced.Prompter<'T (requires 'T : null)>
Public Sub New (annotation As TemplateBaseAttribute, form As IForm(Of T), recognizer As IRecognize(Of T), Optional fields As IFields(Of T) = Nothing)
Parameters
- annotation
- TemplateBaseAttribute
Annotation describing the \ref patterns and formatting for prompt.
- form
- IForm<T>
Current form.
- recognizer
- IRecognize<T>
Recognizer if any.
- fields
- IFields<T>
Fields name lookup. (Defaults to forms.)