Terraria v1.4.4.9
Terraria source code documentation
|
Public Member Functions | |
DelegateEnumerator (FileSystemEnumerable< TResult > enumerable, bool isNormalized) | |
void | Reset () |
void | Dispose () |
unsafe bool | MoveNext () |
Protected Member Functions | |
override TResult | TransformEntry (ref FileSystemEntry entry) |
override bool | ShouldRecurseIntoEntry (ref FileSystemEntry entry) |
override bool | ShouldIncludeEntry (ref FileSystemEntry entry) |
virtual void | OnDirectoryFinished (ReadOnlySpan< char > directory) |
virtual bool | ContinueOnError (int error) |
virtual void | Dispose (bool disposing) |
Properties | |
TResult | Current [get] |
object? IEnumerator. | Current [get] |
Private Member Functions | |
unsafe void | DirectoryFinished () |
void | Init () |
unsafe bool | GetData () |
unsafe IntPtr | CreateRelativeDirectoryHandle (ReadOnlySpan< char > relativePath, string fullPath) |
void | CloseDirectoryHandle () |
IntPtr | CreateDirectoryHandle (string path, bool ignoreNotFound=false) |
bool | ContinueOnDirectoryError (int error, bool ignoreNotFound) |
unsafe void | FindNextEntry () |
bool | DequeueNextDirectory () |
void | InternalDispose (bool disposing) |
Private Attributes | |
readonly FileSystemEnumerable< TResult > | _enumerable |
int | _remainingRecursionDepth |
readonly string | _originalRootDirectory |
readonly string | _rootDirectory |
readonly EnumerationOptions | _options |
readonly object | _lock = new object() |
unsafe Interop.NtDll.FILE_FULL_DIR_INFORMATION * | _entry |
TResult | _current |
IntPtr | _buffer |
int | _bufferLength |
IntPtr | _directoryHandle |
string | _currentPath |
bool | _lastEntryFound |
Queue<(IntPtr Handle, string Path, int RemainingDepth)> | _pending |
Definition at line 13 of file FileSystemEnumerable.cs.