Microsoft.Extensions.FileSystemGlobbing
5 wrapped types. Load them with using { "Microsoft.Extensions.FileSystemGlobbing" }. Click a class to open it.
FilePatternMatch struct
Microsoft.Extensions.FileSystemGlobbing.FilePatternMatch · assembly Microsoft.Extensions.FileSystemGlobbing
Constructors
new FilePatternMatch(string path, string stem) |
Ring: new FilePatternMatch(args) uses one constructor; the others are chosen by the parameter names: new FilePatternMatch().@New([ :param = value ]) or dnNew("FilePatternMatch",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Path | string | read | o.Path |
Stem | string | read | o.Stem |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Equals | Equals(p1) | bool Equals(FilePatternMatch other)bool Equals(object obj) |
GetHashCode | callMethod("GetHashCode",[]) | int GetHashCode() |
InMemoryDirectoryInfo class · extends DirectoryInfoBase
Microsoft.Extensions.FileSystemGlobbing.InMemoryDirectoryInfo · assembly Microsoft.Extensions.FileSystemGlobbing
Constructors
new InMemoryDirectoryInfo(string rootDir, IEnumerable<string> files) |
Ring: new InMemoryDirectoryInfo(args) uses one constructor; the others are chosen by the parameter names: new InMemoryDirectoryInfo().@New([ :param = value ]) or dnNew("InMemoryDirectoryInfo",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
FullName | string | read | o.FullName |
Name | string | read | o.Name |
ParentDirectory | DirectoryInfoBase | read | o.ParentDirectory |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
EnumerateFileSystemInfos | callMethod("EnumerateFileSystemInfos",[]) | IEnumerable<FileSystemInfoBase> EnumerateFileSystemInfos() |
GetDirectory | callMethod("GetDirectory",[p1]) | DirectoryInfoBase GetDirectory(string path) |
GetFile | callMethod("GetFile",[p1]) | FileInfoBase GetFile(string path) |
Members of the base class are inherited.
Matcher class
Microsoft.Extensions.FileSystemGlobbing.Matcher · assembly Microsoft.Extensions.FileSystemGlobbing
Constructors
new Matcher() |
new Matcher(StringComparison comparisonType) |
Ring: new Matcher(args) uses one constructor; the others are chosen by the parameter names: new Matcher().@New([ :param = value ]) or dnNew("Matcher",[ :param = value ]).
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
AddExclude | callMethod("AddExclude",[p1]) | Matcher AddExclude(string pattern) |
AddInclude | callMethod("AddInclude",[p1]) | Matcher AddInclude(string pattern) |
Execute | callMethod("Execute",[p1]) | PatternMatchingResult Execute(DirectoryInfoBase directoryInfo) |
MatcherExtensions class static
Microsoft.Extensions.FileSystemGlobbing.MatcherExtensions · assembly Microsoft.Extensions.FileSystemGlobbing
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
AddExcludePatterns | AddExcludePatterns(p1,p2) | static void AddExcludePatterns(Matcher matcher, IEnumerable<string>[] excludePatternsGroups) |
AddIncludePatterns | AddIncludePatterns(p1,p2) | static void AddIncludePatterns(Matcher matcher, IEnumerable<string>[] includePatternsGroups) |
GetResultsInFullPath | GetResultsInFullPath(p1,p2) | static IEnumerable<string> GetResultsInFullPath(Matcher matcher, string directoryPath) |
Match | Match([ :matcher = …, :file = … ])Match([ :matcher = …, :files = … ])Match([ :matcher = …, :rootDir = …, :file = … ])Match([ :matcher = …, :rootDir = …, :files = … ]) | static PatternMatchingResult Match(Matcher matcher, string file)static PatternMatchingResult Match(Matcher matcher, string rootDir, string file)static PatternMatchingResult Match(Matcher matcher, IEnumerable<string> files)static PatternMatchingResult Match(Matcher matcher, string rootDir, IEnumerable<string> files) |
PatternMatchingResult class
Microsoft.Extensions.FileSystemGlobbing.PatternMatchingResult · assembly Microsoft.Extensions.FileSystemGlobbing
Constructors
new PatternMatchingResult(IEnumerable<FilePatternMatch> files) |
new PatternMatchingResult(IEnumerable<FilePatternMatch> files, bool hasMatches) |
Ring: new PatternMatchingResult(args) uses one constructor; the others are chosen by the parameter names: new PatternMatchingResult().@New([ :param = value ]) or dnNew("PatternMatchingResult",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Files | IEnumerable<FilePatternMatch> | read, write | o.Files o.Files = v |
HasMatches | bool | read | o.HasMatches |