FormBuilder<T> Class
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.
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
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.
Constructors
FormBuilder<T>(Boolean) |
Create a new form builder for building a form using reflection. |
Fields
_form | (Inherited from FormBuilderBase<T>) |
Properties
Configuration | (Inherited from FormBuilderBase<T>) |