Share via


BuildFormDelegate<T> Delegate

Definition

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.

Applies to