BuildFormDelegate<T> Delegate
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.
Delegate for building the form.
public delegate Microsoft.Bot.Builder.FormFlow.IForm<T> BuildFormDelegate<T>() where T : class;
type BuildFormDelegate<'T (requires 'T : null)> = delegate of unit -> IForm<'T (requires 'T : null)>
Public Delegate Function BuildFormDelegate(Of T)() As IForm(Of T)
Type Parameters
- T
The form state type.
Return Value
An IForm<T>.
Remarks
This is a delegate so that we can rebuild the form and don't have to serialize the form definition with every message.