Chain.Unwrap<T>(IDialog<IDialog<T>>) Method

Definition

When the antecedent IDialog<TResult> where T is IDialog<TResult> completes, unwrap the result into a new IDialog<TResult>.

public static Microsoft.Bot.Builder.Dialogs.IDialog<T> Unwrap<T> (this Microsoft.Bot.Builder.Dialogs.IDialog<Microsoft.Bot.Builder.Dialogs.IDialog<T>> antecedent);
static member Unwrap : Microsoft.Bot.Builder.Dialogs.IDialog<Microsoft.Bot.Builder.Dialogs.IDialog<'T>> -> Microsoft.Bot.Builder.Dialogs.IDialog<'T>
<Extension()>
Public Function Unwrap(Of T) (antecedent As IDialog(Of IDialog(Of T))) As IDialog(Of T)

Type Parameters

T

The type of the antecedent dialog.

Parameters

antecedent
IDialog<IDialog<T>>

The antecedent dialog IDialog<TResult> where T is IDialog<TResult>.

Returns

IDialog<T>

An IDialog<TResult>.

Applies to