C# 클래스 DiskSizeUtil, code

파일 보기 프로젝트 열기: shendongnian/code

공개 메소드들

메소드 설명
GetDirectorySize ( DirectoryInfo, root, int levels ) : List

Calculate disk space usage under root. If levels is provided, then return subdirectory disk usages as well, up to level levels deep. If levels is not provided or is 0, return a list with a single element representing the directory specified by root.

비공개 메소드들

메소드 설명
GetDirectorySize ( DirectoryInfo, d, List, data, int levels ) : FolderSizeInfo

메소드 상세

GetDirectorySize() 공개 정적인 메소드

Calculate disk space usage under root. If levels is provided, then return subdirectory disk usages as well, up to level levels deep. If levels is not provided or is 0, return a list with a single element representing the directory specified by root.
public static GetDirectorySize ( DirectoryInfo, root, int levels ) : List
root DirectoryInfo,
levels int
리턴 List