Method GetHaunchAsync
GetHaunchAsync(IEnumerable<(PortalFrameRafterPosition Position, EdgeEnd End)>?, CancellationToken)
Returns the haunches from the given positions
Declaration
Task<IEnumerable<IHaunch>> GetHaunchAsync(IEnumerable<(PortalFrameRafterPosition Position, EdgeEnd End)>? positions = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| IEnumerable<(PortalFrameRafterPosition Position, EdgeEnd End)> | positions | The optional collection of the positions |
| CancellationToken | cancellationToken | The optional cancellation token |
Returns
| Type | Description |
|---|---|
| Task<IEnumerable<IHaunch>> | Haunches from the specified |
Remarks
Returns all active haunches if positions are not specified
Exceptions
| Type | Condition |
|---|---|
| InvalidOperationException | Thrown if there is no active haunch at the position |