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