MatcherExtensions 类

定义

public ref class MatcherExtensions abstract sealed
public static class MatcherExtensions
type MatcherExtensions = class
Public Module MatcherExtensions
继承
MatcherExtensions

方法

AddExcludePatterns(Matcher, IEnumerable<String>[])

将多个排除模式添加到 Matcher

AddIncludePatterns(Matcher, IEnumerable<String>[])

Matcher 中添加多个模式。

GetResultsInFullPath(Matcher, String)

搜索为添加到此 Matcher 实例中的所有文件匹配模式指定的目录。

Match(Matcher, IEnumerable<String>)

将传入的文件与匹配程序中的模式匹配,而无需转到磁盘。

Match(Matcher, String)

将传入的文件与匹配程序中的模式匹配,而无需转到磁盘。

Match(Matcher, String, IEnumerable<String>)

将传入的文件与匹配程序中的模式匹配,而无需转到磁盘。

Match(Matcher, String, String)

将传入的文件与匹配程序中的模式匹配,而无需转到磁盘。

适用于