Static Public Member Functions | |
| static string | GetDirectoryPart (string path) |
| Extracts the directory information from path . More... | |
| static string | GetFileNamePart (string path) |
| Extracts the file name from path . More... | |
Definition at line 26 of file PathHelpers.cs.
|
inlinestatic |
Extracts the directory information from path .
If path is an existing directory, the entire path will be returned. Otherwise, the return value of System.IO.Path.GetDirectoryName() will be returned.
| path | Path to examine. |
Definition at line 38 of file PathHelpers.cs.
|
inlinestatic |
Extracts the file name from path .
If path is an existing directory, an empty string will be returned. Otherwise, the return value of System.IO.Path.GetFileName() will be returned.
| path | Path to examine. |
Definition at line 62 of file PathHelpers.cs.