System.IO.DirectoryInfo.GetDirName C# (CSharp) 메소드

GetDirName() 개인적인 정적인 메소드

private static GetDirName ( String fullPath ) : String
fullPath String
리턴 String
        private static String GetDirName(String fullPath)
        {
            Debug.Assert(fullPath != null);

            return PathHelpers.IsRoot(fullPath) ?
                fullPath :
                Path.GetFileName(PathHelpers.TrimEndingDirectorySeparator(fullPath));
        }
    }