RegExpTrigger Class

Definition

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.

Applies to

See also