Method GetCrackingMomentsAsync
GetCrackingMomentsAsync(Guid, IEnumerable<int>?, CancellationToken)
Returns cracking moments for an event ID
Declaration
Task<IReadOnlyDictionary<int, IMoment2D>> GetCrackingMomentsAsync(Guid id, IEnumerable<int>? indices = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | id | The ID of event to get cracking moments for |
| IEnumerable<int> | indices | The requested IElement2D indices, |
| CancellationToken | cancellationToken | The optional cancellation token |
Returns
| Type | Description |
|---|---|
| Task<IReadOnlyDictionary<int, IMoment2D>> | A dictionary of cracking moments |