MatcherExtensions.AddExcludePatterns 方法

定义

将多个排除模式添加到 Matcher

public:
[System::Runtime::CompilerServices::Extension]
 static void AddExcludePatterns(Microsoft::Extensions::FileSystemGlobbing::Matcher ^ matcher, ... cli::array <System::Collections::Generic::IEnumerable<System::String ^> ^> ^ excludePatternsGroups);
public static void AddExcludePatterns (this Microsoft.Extensions.FileSystemGlobbing.Matcher matcher, params System.Collections.Generic.IEnumerable<string>[] excludePatternsGroups);
static member AddExcludePatterns : Microsoft.Extensions.FileSystemGlobbing.Matcher * seq<string>[] -> unit
<Extension()>
Public Sub AddExcludePatterns (matcher As Matcher, ParamArray excludePatternsGroups As IEnumerable(Of String)())

参数

matcher
Matcher

要添加排除模式的匹配程序。

excludePatternsGroups
IEnumerable<String>[]

glob 模式列表。

适用于

另请参阅