 | ISlabSequentialLoadingResultsGetCrackingMomentsAsync Method |
Returns cracking moments for an event ID
Namespace: TSD.API.Remoting.SolverAssembly: TSD.API.Remoting (in TSD.API.Remoting.dll) Version: 24.0.1.45+53a79b69d75fb81c51fcd389e0bdcf241e5b9f7c
SyntaxTask<IReadOnlyDictionary<int, IMoment2D>> GetCrackingMomentsAsync(
Guid id,
IEnumerable<int>? indices = null,
CancellationToken cancellationToken = default
)
Function GetCrackingMomentsAsync (
id As Guid,
Optional indices As IEnumerable(Of Integer) = Nothing,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of IReadOnlyDictionary(Of Integer, IMoment2D))
Task<IReadOnlyDictionary<int, IMoment2D^>^>^ GetCrackingMomentsAsync(
Guid id,
IEnumerable<int>^ indices = nullptr,
CancellationToken cancellationToken = CancellationToken()
)
abstract GetCrackingMomentsAsync :
id : Guid *
?indices : IEnumerable<int> *
?cancellationToken : CancellationToken
(* Defaults:
let _indices = defaultArg indices null
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<IReadOnlyDictionary<int, IMoment2D>> Parameters
- id Guid
- The ID of event to get cracking moments for
- indices IEnumerableInt32 (Optional)
- The requested IElement2D indices, null to get all
- cancellationToken CancellationToken (Optional)
- The optional cancellation token
Return Value
TaskIReadOnlyDictionaryInt32,
IMoment2DA dictionary of cracking moments
See Also