Chain.Unwrap<T>(IDialog<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.
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
The antecedent dialog IDialog<TResult> where T is IDialog<TResult>.
Returns
IDialog<T>
An IDialog<TResult>.