C# Class Informedica.GenForm.Library.DomainModel.Products.UnitValue

Mostra file Open project: halcwb/GenForm Class Usage Examples

Public Methods

Method Description
Create ( decimal quantity, Unit unit ) : UnitValue
UnitValue ( Decimal value, IUnit unit ) : System

Protected Methods

Method Description
UnitValue ( ) : System

Private Methods

Method Description
SetValue ( decimal value, IUnit unit ) : void

Method Details

Create() public static method

public static Create ( decimal quantity, Unit unit ) : UnitValue
quantity decimal
unit Unit
return UnitValue

UnitValue() protected method

protected UnitValue ( ) : System
return System

UnitValue() public method

public UnitValue ( Decimal value, IUnit unit ) : System
value Decimal
unit IUnit
return System