RingDotNetfor Ring

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

NameTypeAccessIn Ring
Pathstringreado.Path
Stemstringreado.Stem

Methods

MethodRing call.NET overloads
EqualsEquals(p1)bool Equals(FilePatternMatch other)
bool Equals(object obj)
GetHashCodecallMethod("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

NameTypeAccessIn Ring
FullNamestringreado.FullName
Namestringreado.Name
ParentDirectoryDirectoryInfoBasereado.ParentDirectory

Methods

MethodRing call.NET overloads
EnumerateFileSystemInfoscallMethod("EnumerateFileSystemInfos",[])IEnumerable<FileSystemInfoBase> EnumerateFileSystemInfos()
GetDirectorycallMethod("GetDirectory",[p1])DirectoryInfoBase GetDirectory(string path)
GetFilecallMethod("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

MethodRing call.NET overloads
AddExcludecallMethod("AddExclude",[p1])Matcher AddExclude(string pattern)
AddIncludecallMethod("AddInclude",[p1])Matcher AddInclude(string pattern)
ExecutecallMethod("Execute",[p1])PatternMatchingResult Execute(DirectoryInfoBase directoryInfo)
MatcherExtensions class static

Microsoft.Extensions.FileSystemGlobbing.MatcherExtensions · assembly Microsoft.Extensions.FileSystemGlobbing

Methods

MethodRing call.NET overloads
AddExcludePatternsAddExcludePatterns(p1,p2)static void AddExcludePatterns(Matcher matcher, IEnumerable<string>[] excludePatternsGroups)
AddIncludePatternsAddIncludePatterns(p1,p2)static void AddIncludePatterns(Matcher matcher, IEnumerable<string>[] includePatternsGroups)
GetResultsInFullPathGetResultsInFullPath(p1,p2)static IEnumerable<string> GetResultsInFullPath(Matcher matcher, string directoryPath)
MatchMatch([ :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

NameTypeAccessIn Ring
FilesIEnumerable<FilePatternMatch>read, writeo.Files o.Files = v
HasMatchesboolreado.HasMatches