Case<T,R> Constructors
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.
Overloads
Case<T,R>() | |
Case<T,R>(Func<T,Boolean>, ContextualSelector<T,R>) |
Constructs a case. |
Case<T,R>()
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
- selector
- ContextualSelector<T,R>
The contextual selector of the case.