Chain.Default<T,R>(ContextualSelector<T,R>) 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.
Constructs a case to use as the default.
public static Microsoft.Bot.Builder.Dialogs.ICase<T,R> Default<T,R> (Microsoft.Bot.Builder.Dialogs.ContextualSelector<T,R> selector);
static member Default : Microsoft.Bot.Builder.Dialogs.ContextualSelector<'T, 'R> -> Microsoft.Bot.Builder.Dialogs.ICase<'T, 'R>
Public Function Default(Of T, R) (selector As ContextualSelector(Of T, R)) As ICase(Of T, R)
Type Parameters
- T
The type of incoming value to case.
- R
The type of the object returned by selector.
Parameters
- selector
- ContextualSelector<T,R>
The contextual selector of the case.
Returns
The case.