FormDialog.FromType<T>(FormOptions) Method
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.
Create an IFormDialog<T> using the default BuildFormDelegate<T>.
public static Microsoft.Bot.Builder.FormFlow.IFormDialog<T> FromType<T> (Microsoft.Bot.Builder.FormFlow.FormOptions options = Microsoft.Bot.Builder.FormFlow.FormOptions.None) where T : class, new();
static member FromType : Microsoft.Bot.Builder.FormFlow.FormOptions -> Microsoft.Bot.Builder.FormFlow.IFormDialog<'T (requires 'T : null and 'T : (new : unit -> 'T))> (requires 'T : null and 'T : (new : unit -> 'T))
Public Shared Function FromType(Of T As {Class, New}) (Optional options As FormOptions = Microsoft.Bot.Builder.FormFlow.FormOptions.None) As IFormDialog(Of T)
Type Parameters
- T
The form type.
Parameters
- options
- FormOptions
The form options.
Returns
The form dialog.