Catel.IO.Path.GetDirectoryName C# (CSharp) Method

GetDirectoryName() public static method

Gets the name of the directory.
The is null or whitespace.
public static GetDirectoryName ( string path ) : string
path string The path to get the directory name from.
return string
        public static string GetDirectoryName(string path)
        {
            Argument.IsNotNullOrWhitespace("path", path);

            return GetParentDirectory(path);
        }