C# Class DiskSizeUtil, code

Afficher le fichier Open project: shendongnian/code

Méthodes publiques

Méthode Description
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.

Private Methods

Méthode Description
GetDirectorySize ( DirectoryInfo, d, List, data, int levels ) : FolderSizeInfo

Method Details

GetDirectorySize() public static méthode

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
Résultat List