RegExpTrigger 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.
Represents a command trigger that triggered by regular expression match.
public class RegExpTrigger : Microsoft.TeamsFx.Conversation.ITriggerPattern
type RegExpTrigger = class
interface ITriggerPattern
Public Class RegExpTrigger
Implements ITriggerPattern
- Inheritance
-
RegExpTrigger
- Implements
Constructors
| RegExpTrigger(Regex) |
Initializes a new instance of the RegExpTrigger class. |
| RegExpTrigger(String) |
Initializes a new instance of the RegExpTrigger class. |
Properties
| Pattern |
Gets or sets the regular expression used to match the input. |
Methods
| ShouldTrigger(String) |
Check whether the trigger pattern is matched. |