FilePatternMatch 结构
定义
表示使用 glob 模式搜索的匹配文件。Represents a file that was matched by searching using a globbing pattern.
public value class FilePatternMatch : IEquatable<Microsoft::Extensions::FileSystemGlobbing::FilePatternMatch>
public struct FilePatternMatch : IEquatable<Microsoft.Extensions.FileSystemGlobbing.FilePatternMatch>
type FilePatternMatch = struct
Public Structure FilePatternMatch
Implements IEquatable(Of FilePatternMatch)
- 继承
- 实现
构造函数
FilePatternMatch(String, String) |
初始化 FilePatternMatch 的新实例Initializes new instance of FilePatternMatch |
属性
Path |
匹配文件的路径。The path to the file matched. |
Stem |
搜索的基目录下匹配文件的子路径。The subpath to the matched file under the base directory searched. |
方法
Equals(FilePatternMatch) |
通过进行不区分大小写的比较,确定指定的匹配项是否与当前匹配项相等。Determines if the specified match is equivalent to the current match using a case-insensitive comparison. |
Equals(Object) |
通过进行不区分大小写的比较,确定指定的对象是否与当前匹配项相等。Determines if the specified object is equivalent to the current match using a case-insensitive comparison. |
GetHashCode() |
获取用于文件模式匹配的哈希。Gets a hash for the file pattern match. |