RegexCase<R> Class
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.
The regex case for switch.
[System.Serializable]
public sealed class RegexCase<R> : Microsoft.Bot.Builder.Dialogs.Case<string,R>
[<System.Serializable>]
type RegexCase<'R> = class
inherit Case<string, 'R>
Public NotInheritable Class RegexCase(Of R)
Inherits Case(Of String, R)
Type Parameters
- R
- Inheritance
- Attributes
Remarks
The condition will be true if the regex matches the text.
Constructors
RegexCase<R>(Regex, ContextualSelector<String,R>) |
Constructs a case based on a regular expression. |
Properties
Condition | (Inherited from Case<T,R>) |
Selector | (Inherited from Case<T,R>) |