The default implementation of IFilePathResolver, providing the standard PATH-lookup and directory-recursion strategies (PATH first, then directory recursion (see GLOSSARY.md Design Decision 1).
public class FilePathResolver : IFilePathResolver
kind:method, kind:property, kind:ctor. Press Esc to clear.EnumeratePathDirectories()Enumerates the directories listed in the PATH environment variable.GetPathFileExtensions()Returns the file extensions listed in the PATHEXT environment variable, lowercased in a single pass before being returned.LocateFileFromDirectory(String)Locates filePathToResolve by recursing into the directory inferred from the path (or the current working directory when no directory can be inferred).ResolveFilePath(String)Resolves a file path by checking if the file path exists or if it's a directory.ResolveFromPathEnvironmentVariable(String, out FileInfo?)Attempts to resolve filePathToResolve by looking it up in the directories listed in the PATH environment variable.TryResolveFilePath(String, out FileInfo?)Attempts to resolve a file path by delegating to ResolveFilePath(String), swallowing any exception that escapes and reporting failure via the return value.