RegexCase<R> Class
Definition
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>) |