| ICarbonSourceGetTotalMassAsync Method |
Gets the total mass of carbon embodied in the entity
Namespace: TSD.API.Remoting.MaterialsAssembly: TSD.API.Remoting (in TSD.API.Remoting.dll) Version: 23.1.0.154
Syntax Task<double?> GetTotalMassAsync(
CancellationToken cancellationToken = default
)
Function GetTotalMassAsync (
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of Double?)
Task<Nullable<double>>^ GetTotalMassAsync(
CancellationToken cancellationToken = CancellationToken()
)
abstract GetTotalMassAsync :
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<Nullable<float>>
Parameters
- cancellationToken CancellationToken (Optional)
- The optional cancellation token
Return Value
TaskNullableDoubleThe total mass of embodied carbon (in [kg]) or
null if it cannot be retrieved
See Also