VFS.FindFiles.md
January 20, 2026 ยท View on GitHub
Atypical.VirtualFileSystem.Core
Atypical.VirtualFileSystem.Core.VFS
VFS.FindFiles Method
| Overloads | |
|---|---|
| FindFiles(Func<IFileNode,bool>) | Finds all file nodes that match the specified predicate. |
| FindFiles(Regex) | Finds all file nodes that match the specified regular expression. |
VFS.FindFiles(Func<IFileNode,bool>) Method
Finds all file nodes that match the specified predicate.
public System.Collections.Generic.IEnumerable<Atypical.VirtualFileSystem.Core.Contracts.IFileNode> FindFiles(System.Func<Atypical.VirtualFileSystem.Core.Contracts.IFileNode,bool> predicate);
Parameters
predicate System.Func<IFileNode,System.Boolean>
The predicate.
Implements FindFiles(Func<IFileNode,bool>)
Returns
System.Collections.Generic.IEnumerable<IFileNode>
The file nodes.
VFS.FindFiles(Regex) Method
Finds all file nodes that match the specified regular expression.
public System.Collections.Generic.IEnumerable<Atypical.VirtualFileSystem.Core.Contracts.IFileNode> FindFiles(System.Text.RegularExpressions.Regex regexPattern);
Parameters
regexPattern System.Text.RegularExpressions.Regex
The regular expression pattern.
Implements FindFiles(Regex)
Returns
System.Collections.Generic.IEnumerable<IFileNode>
The file nodes.