ComponentUtilities.ToWebsiteOrZipFilePath Method
Definition
- Namespace
- Sandcastle.Core
- Assembly
- Sandcastle.Core.dll
This is used to ensure that a forward slash is used to separate the parts of a website or zip file item path.
public static string ToWebsiteOrZipFilePath(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 website and zip file item paths regardless of the current operating system