C# 클래스 MetroThing.Core.Helpers.StringHelper

파일 보기 프로젝트 열기: kreischweide/metrothing

공개 메소드들

메소드 설명
ConvertByteSizeToHumanReadable ( long byteCount ) : string
ConvertLongToHumanReadableWithUnitPrefix ( long number ) : string
TimeAgo ( System.DateTime dateTime, int averageSecondsJustNow = 10 ) : string

비공개 메소드들

메소드 설명
ConvertBaseToHumanReadable ( IReadOnlyList scale, int steps, long count ) : string

메소드 상세

ConvertByteSizeToHumanReadable() 공개 정적인 메소드

public static ConvertByteSizeToHumanReadable ( long byteCount ) : string
byteCount long
리턴 string

ConvertLongToHumanReadableWithUnitPrefix() 공개 정적인 메소드

public static ConvertLongToHumanReadableWithUnitPrefix ( long number ) : string
number long
리턴 string

TimeAgo() 공개 정적인 메소드

public static TimeAgo ( System.DateTime dateTime, int averageSecondsJustNow = 10 ) : string
dateTime System.DateTime
averageSecondsJustNow int
리턴 string