C# Class ATMLModelLibrary.model.Quantity

Inheritance: ICloneable
Afficher le fichier Open project: UtrsSoftware/ATMLWorkBench Class Usage Examples

Méthodes publiques

Свойство Type Description
NUMERIC_PATTERN string
PATTERN string

Méthodes publiques

Méthode Description
Clone ( ) : object
Equals ( object obj ) : bool
GetHashCode ( ) : int
IsNegative ( ) : bool
IsPositive ( ) : bool
Max ( Quantity qty1, Quantity qty2 ) : Quantity
Min ( Quantity qty1, Quantity qty2 ) : Quantity
Quantity ( ) : System
Quantity ( Decimal value ) : System
Quantity ( string value ) : System
Quantity ( string value, string &remainder ) : System
ToString ( ) : string
Validate ( ) : void
operator ( ) : Quantity
operator ( ) : bool

Méthodes protégées

Méthode Description
Equals ( Quantity other ) : bool
OnValueChanged ( ) : void

Private Methods

Méthode Description
InitQuantity ( string value, string &remainder ) : void
_unit_ValueChanged ( object sender, EventArgs e ) : void

Method Details

Clone() public méthode

public Clone ( ) : object
Résultat object

Equals() protected méthode

protected Equals ( Quantity other ) : bool
other Quantity
Résultat bool

Equals() public méthode

public Equals ( object obj ) : bool
obj object
Résultat bool

GetHashCode() public méthode

public GetHashCode ( ) : int
Résultat int

IsNegative() public méthode

public IsNegative ( ) : bool
Résultat bool

IsPositive() public méthode

public IsPositive ( ) : bool
Résultat bool

Max() public static méthode

public static Max ( Quantity qty1, Quantity qty2 ) : Quantity
qty1 Quantity
qty2 Quantity
Résultat Quantity

Min() public static méthode

public static Min ( Quantity qty1, Quantity qty2 ) : Quantity
qty1 Quantity
qty2 Quantity
Résultat Quantity

OnValueChanged() protected méthode

protected OnValueChanged ( ) : void
Résultat void

Quantity() public méthode

public Quantity ( ) : System
Résultat System

Quantity() public méthode

public Quantity ( Decimal value ) : System
value Decimal
Résultat System

Quantity() public méthode

public Quantity ( string value ) : System
value string
Résultat System

Quantity() public méthode

public Quantity ( string value, string &remainder ) : System
value string
remainder string
Résultat System

ToString() public méthode

public ToString ( ) : string
Résultat string

Validate() public méthode

public Validate ( ) : void
Résultat void

operator() public static méthode

public static operator ( ) : Quantity
Résultat Quantity

operator() public static méthode

public static operator ( ) : bool
Résultat bool

Property Details

NUMERIC_PATTERN public_oe static_oe property

public static string NUMERIC_PATTERN
Résultat string

PATTERN public_oe static_oe property

public static string PATTERN
Résultat string