ResultDataUnitConverter Class

Class for doing unit conversions for all data items in a IResultData object.

If data is read using a lazy reader, this can incur a severe performance hit. In that case, the bridge must implement the unit conversion.

Definition

Namespace: DHI.Mike1D.ResultDataAccess
Assembly: DHI.Mike1D.ResultDataAccess (in DHI.Mike1D.ResultDataAccess.dll) Version: 24.0.0.0 (11.1.1.1111)
C#
public class ResultDataUnitConverter
Inheritance
Object    ResultDataUnitConverter

Constructors

ResultDataUnitConverter(IResultData) Create converter, using the UnitSystem for creating the unit provider
ResultDataUnitConverter(IResultData, IUnitProvider) Create converter, providing explicitly the unit provider

Methods

Convert Convert, updating both values and unit in all dataitems
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ToStringReturns a string that represents the current object.
(Inherited from Object)

See Also