GlobFileSystemEnumerator<T> Class
Provides a base class for enumerating file system entries that match a glob pattern.
public abstract class GlobFileSystemEnumerator<T> : FileSystemEnumerator<T>Type parameters
T- The type of objects to enumerate.
- Inheritance
FileSystemEnumerator<T>GlobFileSystemEnumerator<T>
Constructors
| Name | Description |
|---|---|
| GlobFileSystemEnumerator(IGlobEvaluatable, string, EnumerationOptions?) | Initializes a new instance of the GlobFileSystemEnumerator<T> class. |
GlobFileSystemEnumerator(IGlobEvaluatable, string, EnumerationOptions?)
GlobFileSystemEnumerator.csInitializes a new instance of the GlobFileSystemEnumerator<T> class.
protected GlobFileSystemEnumerator(IGlobEvaluatable glob, string directory, EnumerationOptions? options = null)Parameters
globIGlobEvaluatable- The glob pattern to match against.
directorystring- The directory to enumerate.
optionsEnumerationOptions?- Options for controlling enumeration behavior.
Methods
| Name | Description |
|---|---|
| ShouldIncludeEntry(FileSystemEntry) | |
| ShouldRecurseIntoEntry(FileSystemEntry) |
ShouldIncludeEntry(FileSystemEntry)
GlobFileSystemEnumerator.csprotected override bool ShouldIncludeEntry(ref FileSystemEntry entry)No documentation is available.
ShouldRecurseIntoEntry(FileSystemEntry)
GlobFileSystemEnumerator.csprotected override bool ShouldRecurseIntoEntry(ref FileSystemEntry entry)No documentation is available.