RegexCase<R>(Regex, ContextualSelector<String,R>) Constructor
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 based on a regular expression.
public RegexCase (System.Text.RegularExpressions.Regex regex, Microsoft.Bot.Builder.Dialogs.ContextualSelector<string,R> selector);
new Microsoft.Bot.Builder.Dialogs.RegexCase<'R> : System.Text.RegularExpressions.Regex * Microsoft.Bot.Builder.Dialogs.ContextualSelector<string, 'R> -> Microsoft.Bot.Builder.Dialogs.RegexCase<'R>
Public Sub New (regex As Regex, selector As ContextualSelector(Of String, R))
Parameters
- regex
- Regex
The regex for condition.
- selector
- ContextualSelector<String,R>
The contextual selector for the case.