C# Class org.GraphDefined.Vanaheimr.Illias.DecimalMinMax

Min/Max values for decimals.
Afficher le fichier Open project: Vanaheimr/Illias Class Usage Examples

Méthodes publiques

Méthode Description
DecimalMinMax ( Decimal Min, Decimal Max ) : System

Creates a new range of decimal values.

FromMax ( Decimal MaxValue ) : DecimalMinMax

Create a new half-open definition having just a maximum value.

FromMin ( Decimal MinValue ) : DecimalMinMax

Create a new half-open definition having just a minimum value.

GetHashCode ( ) : Int32

Get the hashcode of this object.

ToString ( ) : String

Get a string representation of this object.

Method Details

DecimalMinMax() public méthode

Creates a new range of decimal values.
public DecimalMinMax ( Decimal Min, Decimal Max ) : System
Min Decimal The minimum value or lower bound.
Max Decimal The maximum value or upper bound.
Résultat System

FromMax() public static méthode

Create a new half-open definition having just a maximum value.
public static FromMax ( Decimal MaxValue ) : DecimalMinMax
MaxValue Decimal The maximum value.
Résultat DecimalMinMax

FromMin() public static méthode

Create a new half-open definition having just a minimum value.
public static FromMin ( Decimal MinValue ) : DecimalMinMax
MinValue Decimal The minimum value.
Résultat DecimalMinMax

GetHashCode() public méthode

Get the hashcode of this object.
public GetHashCode ( ) : Int32
Résultat System.Int32

ToString() public méthode

Get a string representation of this object.
public ToString ( ) : String
Résultat String