StringMatchingSettings 类
- 命名空间
- ClassIsland.Core.Models.Ruleset
- 程序集
- ClassIsland.Core.dll
代表一个字符匹配规则配置。
public class StringMatchingSettings : ObservableRecipient, INotifyPropertyChanged, INotifyPropertyChanging
- 继承
-
StringMatchingSettings
- 实现
- 继承成员
属性
Text
要匹配的字符串/正则。
public string Text { get; set; }
属性值
UseRegex
是否使用正则。
public bool UseRegex { get; set; }
属性值
方法
IsMatching(string)
判断给定的字符串是否满足此匹配规则。
public bool IsMatching(string str)
参数
str
string
返回
- bool
如果满足规则,则返回true.