IUnit |
Converts a collection of values in given unit (= factored and shifted) to values in the base unit
Namespace: TSD.API.Remoting.Units
Assembly: TSD.API.Remoting (in TSD.API.Remoting.dll) Version: 24.0.1.45+53a79b69d75fb81c51fcd389e0bdcf241e5b9f7c
Syntax
Task<IEnumerable<double>> ToBaseAsync( IEnumerable<double> values, IUnit unit, CancellationToken cancellationToken = default )
Parameters
- values IEnumerableDouble
- The values to convert
- unit IUnit
- The unit to convert the value from
- cancellationToken CancellationToken (Optional)
- The optional cancellation token
Return Value
TaskIEnumerableDoubleA collection of double value in requested unit
See Also