FormDialog<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.
Constructor for creating a FormFlow dialog.
public FormDialog (T state, Microsoft.Bot.Builder.FormFlow.BuildFormDelegate<T> buildForm = default, Microsoft.Bot.Builder.FormFlow.FormOptions options = Microsoft.Bot.Builder.FormFlow.FormOptions.None, System.Collections.Generic.IEnumerable<Microsoft.Bot.Builder.Luis.Models.EntityRecommendation> entities = default, System.Globalization.CultureInfo cultureInfo = default);
new Microsoft.Bot.Builder.FormFlow.FormDialog<'T (requires 'T : null)> : 'T * Microsoft.Bot.Builder.FormFlow.BuildFormDelegate<'T (requires 'T : null)> * Microsoft.Bot.Builder.FormFlow.FormOptions * seq<Microsoft.Bot.Builder.Luis.Models.EntityRecommendation> * System.Globalization.CultureInfo -> Microsoft.Bot.Builder.FormFlow.FormDialog<'T (requires 'T : null)>
Public Sub New (state As T, Optional buildForm As BuildFormDelegate(Of T) = Nothing, Optional options As FormOptions = Microsoft.Bot.Builder.FormFlow.FormOptions.None, Optional entities As IEnumerable(Of EntityRecommendation) = Nothing, Optional cultureInfo As CultureInfo = Nothing)
Parameters
- state
- T
The initial state.
- buildForm
- BuildFormDelegate<T>
A delegate for building the form.
- options
- FormOptions
Options for controlling the form.
- entities
- IEnumerable<EntityRecommendation>
Optional entities to process into the form.
- cultureInfo
- CultureInfo
The culture to use.
Remarks
For building forms IFormBuilder<T>.