Class PathHelper
Helper class for file paths.
public static class PathHelper
- Inheritance
-
PathHelper
- Inherited Members
Methods
FindPath(string, string)
Builds a path by the following strategy. Get the current directory and find the specified folderName in it. Then replace the path right of folderName with the specified subPath.
public static string FindPath(string folderName, string subPath)
Parameters
folderName
stringName of a parent folder in the path to the current directory.
subPath
stringThe sub path that substitutes the part right of folderName in the current directory path.
Returns
- string
The new path.