Share via


Case<T,R> Constructors

Definition

Overloads

Case<T,R>()
Case<T,R>(Func<T,Boolean>, ContextualSelector<T,R>)

Constructs a case.

Case<T,R>()

Source:
Chain.cs
protected Case ();
Protected Sub New ()

Applies to

Case<T,R>(Func<T,Boolean>, ContextualSelector<T,R>)

Source:
Chain.cs

Constructs a case.

public Case (Func<T,bool> condition, Microsoft.Bot.Builder.Dialogs.ContextualSelector<T,R> selector);
new Microsoft.Bot.Builder.Dialogs.Case<'T, 'R> : Func<'T, bool> * Microsoft.Bot.Builder.Dialogs.ContextualSelector<'T, 'R> -> Microsoft.Bot.Builder.Dialogs.Case<'T, 'R>
Public Sub New (condition As Func(Of T, Boolean), selector As ContextualSelector(Of T, R))

Parameters

condition
Func<T,Boolean>

The condition of the case.

selector
ContextualSelector<T,R>

The contextual selector of the case.

Applies to