示例#1
0
文件: Df.cs 项目: neochrome/nutools
        public int Execute()
        {
            var drivesToEnumerate = GetDrives(limitToType, excludeType);
            var driveSummary = new DriveSummary(
                drivesToEnumerate,
                humanReadable,
                humanReadableWithSi,
                posixFormat,
                printFileSystemType,
                customBlockSize,
                blockSize
            );
            Console.Write(driveSummary.Render());

            return 0;
        }
示例#2
0
        public int Execute()
        {
            var drivesToEnumerate = GetDrives(limitToType, excludeType);
            var driveSummary      = new DriveSummary(
                drivesToEnumerate,
                humanReadable,
                humanReadableWithSi,
                posixFormat,
                printFileSystemType,
                customBlockSize,
                blockSize
                );

            Console.Write(driveSummary.Render());

            return(0);
        }