Click or drag to resize

IValueWithMeasureTUnitOfMeasureCreateAnother Method

Creates another value object with the specified parameters.

Namespace:  Aloe.EnterpriseOne.Model.Core.Metrics
Assembly:  Aloe.EnterpriseOne.Model (in Aloe.EnterpriseOne.Model.dll) Version: 20.1.3.5
Syntax
IValueWithMeasure<TUnitOfMeasure> CreateAnother(
	decimal value,
	TUnitOfMeasure unitOfMeasure
)

Parameters

value
Type: SystemDecimal
The value.
unitOfMeasure
Type: TUnitOfMeasure
The unit of measure.

Return Value

Type: IValueWithMeasureTUnitOfMeasure
The newly constructed value object.
Remarks
The CreateAnother(Decimal, TUnitOfMeasure) method is usually implemented explicitly. It is not needed by the users of the implementing type, but is rather used by the conversion infrastructure.
See Also