MatcherContext 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
此 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