共用方式為


MatcherContext 建構函式

定義

此 API 支援基礎結構,且不適合直接從程式碼使用。 此 API 可能會在未來的版本中變更或移除。

public:
 MatcherContext(System::Collections::Generic::IEnumerable<Microsoft::Extensions::FileSystemGlobbing::Internal::IPattern ^> ^ includePatterns, System::Collections::Generic::IEnumerable<Microsoft::Extensions::FileSystemGlobbing::Internal::IPattern ^> ^ excludePatterns, Microsoft::Extensions::FileSystemGlobbing::Abstractions::DirectoryInfoBase ^ directoryInfo, StringComparison comparison);
public MatcherContext (System.Collections.Generic.IEnumerable<Microsoft.Extensions.FileSystemGlobbing.Internal.IPattern> includePatterns, System.Collections.Generic.IEnumerable<Microsoft.Extensions.FileSystemGlobbing.Internal.IPattern> excludePatterns, Microsoft.Extensions.FileSystemGlobbing.Abstractions.DirectoryInfoBase directoryInfo, StringComparison comparison);
new Microsoft.Extensions.FileSystemGlobbing.Internal.MatcherContext : seq<Microsoft.Extensions.FileSystemGlobbing.Internal.IPattern> * seq<Microsoft.Extensions.FileSystemGlobbing.Internal.IPattern> * Microsoft.Extensions.FileSystemGlobbing.Abstractions.DirectoryInfoBase * StringComparison -> Microsoft.Extensions.FileSystemGlobbing.Internal.MatcherContext
Public Sub New (includePatterns As IEnumerable(Of IPattern), excludePatterns As IEnumerable(Of IPattern), directoryInfo As DirectoryInfoBase, comparison As StringComparison)

參數

includePatterns
IEnumerable<IPattern>
excludePatterns
IEnumerable<IPattern>
directoryInfo
DirectoryInfoBase
comparison
StringComparison

適用於