Compartir a través de


FormDialog<T> Constructor

Definición

Constructor para crear un cuadro de diálogo FormFlow.

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)

Parámetros

state
T

Estado inicial.

buildForm
BuildFormDelegate<T>

Delegado para crear el formulario.

options
FormOptions

Opciones para controlar el formulario.

entities
IEnumerable<EntityRecommendation>

Entidades opcionales que se van a procesar en el formulario.

cultureInfo
CultureInfo

Referencia cultural que se va a usar.

Comentarios

Para compilar formularios IFormBuilder<T>.

Se aplica a