Share via


StringTrigger Class

Definition

Represents a command trigger that triggered by string match.

public class StringTrigger : Microsoft.TeamsFx.Conversation.ITriggerPattern
type StringTrigger = class
    interface ITriggerPattern
Public Class StringTrigger
Implements ITriggerPattern
Inheritance
StringTrigger
Implements

Constructors

StringTrigger(String)

Initializes a new instance of the StringTrigger class.

Properties

Pattern

Gets or sets the string pattern used to match the input.

Methods

ShouldTrigger(String)

Check whether the trigger pattern is matched.

Applies to

See also