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

Min/Max values for decimals.
Mostrar archivo Open project: Vanaheimr/Illias Class Usage Examples

Public Methods

Method 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 method

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.
return System

FromMax() public static method

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

FromMin() public static method

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

GetHashCode() public method

Get the hashcode of this object.
public GetHashCode ( ) : Int32
return System.Int32

ToString() public method

Get a string representation of this object.
public ToString ( ) : String
return String