Метод | Описание | |
---|---|---|
KibiFileSize ( this file, string numberFormat = "0.##", IFormatProvider format = null ) : string |
Returns a formatted string representing the file size in a human readable format using 1024 as power.
|
|
KiloFileSize ( this file, string numberFormat = "0.##", IFormatProvider format = null ) : string |
Returns a formatted string representing the file size in a human readable format using 1000 as power. http://en.wikipedia.org/wiki/Kilobyte |
|
ToKibiFileSize ( this length, string numberFormat = "0.##", IFormatProvider formatProvider = null ) : string |
Returns a string formatted to represent a file size using multiplication of 1024 as power http://en.wikipedia.org/wiki/Kibibyte |
|
ToKiloFileSize ( this length, string numberFormat = "0.##", IFormatProvider formatProvider = null ) : string |
Returns a string formatted to represent file size using multiplication of 1000 as power. http://en.wikipedia.org/wiki/Kilobyte |
Метод | Описание | |
---|---|---|
ValidateFileInfo ( FileInfo file ) : void |
public static KibiFileSize ( this file, string numberFormat = "0.##", IFormatProvider format = null ) : string | ||
file | this | |
numberFormat | string | |
format | IFormatProvider | |
Результат | string |
public static KiloFileSize ( this file, string numberFormat = "0.##", IFormatProvider format = null ) : string | ||
file | this | |
numberFormat | string | |
format | IFormatProvider | |
Результат | string |
public static ToKibiFileSize ( this length, string numberFormat = "0.##", IFormatProvider formatProvider = null ) : string | ||
length | this | |
numberFormat | string | |
formatProvider | IFormatProvider | |
Результат | string |
public static ToKiloFileSize ( this length, string numberFormat = "0.##", IFormatProvider formatProvider = null ) : string | ||
length | this | |
numberFormat | string | |
formatProvider | IFormatProvider | |
Результат | string |