Chain.Return<T>(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.
Creates a IDialog<TResult> that returns a value.
public static Microsoft.Bot.Builder.Dialogs.IDialog<T> Return<T> (T item);
static member Return : 'T -> Microsoft.Bot.Builder.Dialogs.IDialog<'T>
Public Function Return(Of T) (item As T) As IDialog(Of T)
Type Parameters
- T
Type of the value.
Parameters
- item
- T
The value to be wrapped.
Returns
IDialog<T>
The IDialog<TResult> that wraps the value.
Remarks
The type of the value should be serializable.