Share via


Chain.Default<T,R>(ContextualSelector<T,R>) Method

Definition

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.

Applies to