Method GetDefaultSectionAsync
GetDefaultSectionAsync(HeadCode, SystemType, MaterialType, MemberType, MemberFabrication, CancellationToken)
Returns the default section for the given parameters
Declaration
Task<ISection?> GetDefaultSectionAsync(HeadCode headCode, SystemType unitSystem, MaterialType materialType, MemberType memberType, MemberFabrication fabrication, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| HeadCode | headCode | The head code to get default section for |
| SystemType | unitSystem | The unit system to get default section for |
| MaterialType | materialType | The material type to get default section for |
| MemberType | memberType | The member type to get default section for |
| MemberFabrication | fabrication | The fabrication to get default section for |
| CancellationToken | cancellationToken | The optional cancellation token |
Returns
| Type | Description |
|---|---|
| Task<ISection> | The default section for the given parameters (or null if no such section exists) |