IVirtualFileSystem.FindDirectories.md

January 20, 2026 ยท View on GitHub

Atypical.VirtualFileSystem.Core

Atypical.VirtualFileSystem.Core.Contracts.IVirtualFileSystem

IVirtualFileSystem.FindDirectories Method

Overloads
FindDirectories(Func<IDirectoryNode,bool>)Finds all directory nodes that match the specified predicate.
FindDirectories(Regex)Finds all directory nodes that match the specified regular expression. The regular expression must be relative to the root directory.

IVirtualFileSystem.FindDirectories(Func<IDirectoryNode,bool>) Method

Finds all directory nodes that match the specified predicate.

System.Collections.Generic.IEnumerable<Atypical.VirtualFileSystem.Core.Contracts.IDirectoryNode> FindDirectories(System.Func<Atypical.VirtualFileSystem.Core.Contracts.IDirectoryNode,bool> predicate);

Parameters

predicate System.Func<IDirectoryNode,System.Boolean>

The predicate.

Returns

System.Collections.Generic.IEnumerable<IDirectoryNode>
The directory nodes.

IVirtualFileSystem.FindDirectories(Regex) Method

Finds all directory nodes that match the specified regular expression. The regular expression must be relative to the root directory.

System.Collections.Generic.IEnumerable<Atypical.VirtualFileSystem.Core.Contracts.IDirectoryNode> FindDirectories(System.Text.RegularExpressions.Regex regexPattern);

Parameters

regexPattern System.Text.RegularExpressions.Regex

The regular expression pattern.

Returns

System.Collections.Generic.IEnumerable<IDirectoryNode>
The directory nodes.