Method
PathHelper.EnsureDirectoryExistance
EnsureDirectoryExistance(string) #
Ensures that the specified directory exists, creating it if necessary.
public static bool EnsureDirectoryExistance(string directoryPath)Parameters #
directoryPath string
The directory path that should exist.
Returns #
true if the directory already existed;
false if the directory was created.
Exceptions #
Thrown when directoryPath is null or empty.