C# Class DecimalExtension, Adnc

Afficher le fichier Open project: AlphaYu/Adnc Class Usage Examples

Méthodes publiques

Méthode Description
InRange ( decimal @this, decimal minValue, decimal maxValue ) : bool

A T extension method that check if the value is between inclusively the minValue and maxValue.

Method Details

InRange() public static méthode

A T extension method that check if the value is between inclusively the minValue and maxValue.
public static InRange ( decimal @this, decimal minValue, decimal maxValue ) : bool
@this decimal
minValue decimal The minimum value.
maxValue decimal The maximum value.
Résultat bool