C# Class withSIX.Core.Extensions.SizeExtensions

Afficher le fichier Open project: SIXNetworks/withSIX.Desktop

Méthodes publiques

Свойство Type Description
DefaultContentLengthRange ContentLengthRange

Méthodes publiques

Méthode Description
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

Method Details

FormatSize() public static méthode

public static FormatSize ( this size, System.Tools unit = Tools.FileTools.Units.B ) : string
size this
unit System.Tools
Résultat string

FormatSpeed() public static méthode

public static FormatSpeed ( this speed, System.Tools unit = Tools.FileTools.Units.B ) : string
speed this
unit System.Tools
Résultat string

ToBytes() public static méthode

public static ToBytes ( this size, FileSizeHelper inputUnit ) : long
size this
inputUnit FileSizeHelper
Résultat long

VerifySize() public static méthode

public static VerifySize ( this range, long size ) : void
range this
size long
Résultat void

Property Details

DefaultContentLengthRange public_oe static_oe property

public static ContentLengthRange DefaultContentLengthRange
Résultat ContentLengthRange