Method GetCarbonInfoAsync

GetCarbonInfoAsync(IEnumerable<CarbonSourceEntityInfo>?, CancellationToken)

Returns the embodied carbon information for a collection of sources

Declaration
Task<IEnumerable<ICarbonInfo>> GetCarbonInfoAsync(IEnumerable<CarbonSourceEntityInfo>? carbonSourceEntityInfos, CancellationToken cancellationToken = default)
Parameters
Type Name Description
IEnumerable<CarbonSourceEntityInfo> carbonSourceEntityInfos

A collection of identifiers of the carbon sources to get the information for

CancellationToken cancellationToken

The optional cancellation token

Returns
Type Description
Task<IEnumerable<ICarbonInfo>>

A collection of ICarbonInfo instances, one for each carbon source

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