C# 클래스 withSIX.Core.Extensions.SizeExtensions

파일 보기 프로젝트 열기: SIXNetworks/withSIX.Desktop

공개 프로퍼티들

프로퍼티 타입 설명
DefaultContentLengthRange ContentLengthRange

공개 메소드들

메소드 설명
FormatSize ( this size, System.Tools unit = Tools.FileTools.Units.B ) : string
FormatSpeed ( this speed, System.Tools unit = Tools.FileTools.Units.B ) : string
ToBytes ( this size, FileSizeHelper inputUnit ) : long
VerifySize ( this range, long size ) : void

메소드 상세

FormatSize() 공개 정적인 메소드

public static FormatSize ( this size, System.Tools unit = Tools.FileTools.Units.B ) : string
size this
unit System.Tools
리턴 string

FormatSpeed() 공개 정적인 메소드

public static FormatSpeed ( this speed, System.Tools unit = Tools.FileTools.Units.B ) : string
speed this
unit System.Tools
리턴 string

ToBytes() 공개 정적인 메소드

public static ToBytes ( this size, FileSizeHelper inputUnit ) : long
size this
inputUnit FileSizeHelper
리턴 long

VerifySize() 공개 정적인 메소드

public static VerifySize ( this range, long size ) : void
range this
size long
리턴 void

프로퍼티 상세

DefaultContentLengthRange 공개적으로 정적으로 프로퍼티

public static ContentLengthRange DefaultContentLengthRange
리턴 ContentLengthRange