C# 클래스 ChocoPM.Converters.LongSizeToFileSizeString

상속: IValueConverter
파일 보기 프로젝트 열기: RichiCoder1/ChocoPM

공개 메소드들

메소드 설명
Convert ( object value, Type targetType, object parameter, System culture ) : object
ConvertBack ( object value, Type targetType, object parameter, System culture ) : object
StrFormatByteSize ( long filesize ) : string

Converts a numeric value into a string that represents the number expressed as a size value in bytes, kilobytes, megabytes, or gigabytes, depending on the size.

메소드 상세

Convert() 공개 메소드

public Convert ( object value, Type targetType, object parameter, System culture ) : object
value object
targetType System.Type
parameter object
culture System
리턴 object

ConvertBack() 공개 메소드

public ConvertBack ( object value, Type targetType, object parameter, System culture ) : object
value object
targetType System.Type
parameter object
culture System
리턴 object

StrFormatByteSize() 공개 정적인 메소드

Converts a numeric value into a string that represents the number expressed as a size value in bytes, kilobytes, megabytes, or gigabytes, depending on the size.
public static StrFormatByteSize ( long filesize ) : string
filesize long The numeric value to be converted.
리턴 string