Method GetUnitsAsync

GetUnitsAsync(IEnumerable<Quantity>, CancellationToken)

Returns units currently used for the given quantities

Declaration
Task<IEnumerable<IUnit>> GetUnitsAsync(IEnumerable<Quantity> quantities, CancellationToken cancellationToken = default)
Parameters
Type Name Description
IEnumerable<Quantity> quantities

The quantities to get units for

CancellationToken cancellationToken

The optional cancellation token

Returns
Type Description
Task<IEnumerable<IUnit>>

A collection of currently used units

Was this helpful?
The feedback you give here is not visible to other users. We use your comments to improve the content.
Previous
Next