Chain.From<T>(Func<IDialog<T>>) 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.
Construct a IDialog<TResult> that will make a new copy of another IDialog<TResult> when started.
public static Microsoft.Bot.Builder.Dialogs.IDialog<T> From<T> (Func<Microsoft.Bot.Builder.Dialogs.IDialog<T>> MakeDialog);
static member From : Func<Microsoft.Bot.Builder.Dialogs.IDialog<'T>> -> Microsoft.Bot.Builder.Dialogs.IDialog<'T>
Public Function From(Of T) (MakeDialog As Func(Of IDialog(Of T))) As IDialog(Of T)
Type Parameters
- T
The type of the dialog.
Parameters
Returns
IDialog<T>
The new dialog.