ComponentUtilities.CorrectFilePathSeparators Method
Definition
- Namespace
- Sandcastle.Core
- Assembly
- Sandcastle.Core.dll
This is used to ensure that DirectorySeparatorChar is used to separate the parts of a file path.
public static string CorrectFilePathSeparators(this string path)
Parameters
pathstringThe file path to check
Returns
- string
The file path with the directory separators corrected if necessary
Remarks
This ensures proper file paths regardless of the current operating system