Class TextWithMatchOptions
Structure that contains the text together with the match method for describing an IAIObject.
public class TextWithMatchOptions
- Inheritance
-
TextWithMatchOptions
- Inherited Members
Constructors
TextWithMatchOptions(RegExpProperty, MatchMethod)
Constructs a new TextWithMatchOptions object that can be used to uniquely identify an IAIObject by its regex property and specifies the match method to be used for identification.
public TextWithMatchOptions(RegExpProperty regExp, MatchMethod matchMethod)
Parameters
regExpRegExpPropertyThe regular expression to match to the AI object's text.
matchMethodMatchMethodThe match method to use.
TextWithMatchOptions(string, MatchMethod)
Constructs a new TextWithMatchOptions object that can be used to uniquely identify an IAIObject by its text and specifies the match method to be used for identification.
public TextWithMatchOptions(string text, MatchMethod matchMethod)
Parameters
textstringThe text to use to identify the AI object.
matchMethodMatchMethodThe text match method to use when identifying the AI object by its text.
Properties
MatchMethod
The match method to use when identifying the AI object by its text.
public MatchMethod MatchMethod { get; set; }
Property Value
RegExp
The regular expression used to identify the AI object.
public RegExpProperty RegExp { get; set; }
Property Value
Text
The text used to identify the AI Object.
public StringProperty Text { get; set; }