C# Class RedBadger.Xpf.Internal.DoubleExtensions

Afficher le fichier Open project: redbadger/XPF

Méthodes publiques

Méthode Description
Coerce ( this offset, double min, double max ) : double
EnsurePositive ( this value ) : double
IsCloseTo ( this value1, double value2 ) : bool
IsDifferentFrom ( this value1, double value2 ) : bool
IsGreaterThan ( this value1, double value2 ) : bool
IsGreaterThanOrCloseTo ( this value1, double value2 ) : bool
IsLessThan ( this value1, double value2 ) : bool
IsLessThanOrCloseTo ( this value1, double value2 ) : bool

Method Details

Coerce() public static méthode

public static Coerce ( this offset, double min, double max ) : double
offset this
min double
max double
Résultat double

EnsurePositive() public static méthode

public static EnsurePositive ( this value ) : double
value this
Résultat double

IsCloseTo() public static méthode

public static IsCloseTo ( this value1, double value2 ) : bool
value1 this
value2 double
Résultat bool

IsDifferentFrom() public static méthode

public static IsDifferentFrom ( this value1, double value2 ) : bool
value1 this
value2 double
Résultat bool

IsGreaterThan() public static méthode

public static IsGreaterThan ( this value1, double value2 ) : bool
value1 this
value2 double
Résultat bool

IsGreaterThanOrCloseTo() public static méthode

public static IsGreaterThanOrCloseTo ( this value1, double value2 ) : bool
value1 this
value2 double
Résultat bool

IsLessThan() public static méthode

public static IsLessThan ( this value1, double value2 ) : bool
value1 this
value2 double
Résultat bool

IsLessThanOrCloseTo() public static méthode

public static IsLessThanOrCloseTo ( this value1, double value2 ) : bool
value1 this
value2 double
Résultat bool