FormBuilder<T> Class

Definition

Build a form by specifying messages, fields and confirmations via reflection or programatically.

public sealed class FormBuilder<T> : Microsoft.Bot.Builder.FormFlow.FormBuilderBase<T> where T : class
type FormBuilder<'T (requires 'T : null)> = class
    inherit FormBuilderBase<'T (requires 'T : null)>
Public NotInheritable Class FormBuilder(Of T)
Inherits FormBuilderBase(Of T)

Type Parameters

T

Form state class.

Inheritance
FormBuilder<T>

Remarks

Fields will be defined through reflection over the type T and attributes like DescribeAttribute, NumericAttribute, OptionalAttributePatternAttribute, PromptAttribute, TermsAttribute and TemplateAttribute. For all of the attributes, reasonable defaults will be generated.

Applies to