IItemTypePropertyConversion IItemTypePropertyConversion IItemTypePropertyConversion Interface

Definition

Converts units for a numeric value of a HealthRecordItemTypeProperty.

public interface IItemTypePropertyConversion
type IItemTypePropertyConversion = interface
Public Interface IItemTypePropertyConversion
Derived

Remarks

When a thing type has multiple versions that store the same data with different units, a conversion between units may be required to ensure that values are ordered correctly across versions. The HealthRecordItemTypeProperty can define a conversion formula to perform this conversion.

Methods

Convert(Double) Convert(Double) Convert(Double)

Converts a value to different units. The conversion formula is determined by the implementation of the IItemTypePropertyConversion object and the parameters with which it was constructed.

Applies to