Exemplo n.º 1
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;
        }
Exemplo n.º 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);
        }