PathEscaper.Escape
Static Method in PathEscaper
Declaration
public static string Escape(string path)Description
Escapes the path.
Parameters
| path | The path to escape. |
Returns
| string | The escaped path. |
Overload
Declaration
public static string Escape(string path, Regex regex, string escapeCharacter)Description
Escapes the path.
Parameters
| path | The path to escape. |
| regex | The escape regex to use. |
| escapeCharacter | The character used to replace invalid characters, e.g. "_". |
Returns
| string | The escaped path. |