Microsoft.Bot.Builder.Dialogs.RegexCase< R > Class Template Reference

The regex case for switch. More...

Inheritance diagram for Microsoft.Bot.Builder.Dialogs.RegexCase< R >:

Public Member Functions

 RegexCase (Regex regex, ContextualSelector< string, R > selector)
 Constructs a case based on a regular expression. More...
 

Properties

Func< T, bool > Condition [get, protected set]
 
ContextualSelector< T, R > Selector [get, protected set]
 

Detailed Description

The regex case for switch.

The condition will be true if the regex matches the text.

Definition at line 1061 of file Chain.cs.

Constructor & Destructor Documentation

Microsoft.Bot.Builder.Dialogs.RegexCase< R >.RegexCase ( Regex  regex,
ContextualSelector< string, R >  selector 
)
inline

Constructs a case based on a regular expression.

Parameters
regexThe regex for condition.
selectorThe contextual selector for the case.

Definition at line 1070 of file Chain.cs.

Property Documentation

Func<T, bool> Microsoft.Bot.Builder.Dialogs.Case< T, R >.Condition
getprotected setinherited

Definition at line 1033 of file Chain.cs.

ContextualSelector<T, R> Microsoft.Bot.Builder.Dialogs.Case< T, R >.Selector
getprotected setinherited

Definition at line 1034 of file Chain.cs.


The documentation for this class was generated from the following file: