Method GetNonParametricSectionsAsync
GetNonParametricSectionsAsync(HeadCode, SectionGroup, int?, CancellationToken)
Returns a collection of non-parametric sections from given group
Declaration
Task<IEnumerable<INonParametricSection>> GetNonParametricSectionsAsync(HeadCode headCode, SectionGroup sectionGroup, int? limit = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| HeadCode | headCode | The head code to get sections for |
| SectionGroup | sectionGroup | The group to get sections from |
| int? | limit | The maximum number of sections to retrieve (null to retrieve all) |
| CancellationToken | cancellationToken | The optional cancellation token |
Returns
| Type | Description |
|---|---|
| Task<IEnumerable<INonParametricSection>> | A collection of non-parametric sections from given group |
GetNonParametricSectionsAsync(HeadCode, Country, SystemType, MaterialType, SectionGeometry, SectionType, int?, CancellationToken)
Returns a collection of non-parametric sections fulfilling given criteria
Declaration
Task<IEnumerable<INonParametricSection>> GetNonParametricSectionsAsync(HeadCode headCode, Country country, SystemType unitSystem, MaterialType materialType, SectionGeometry sectionGeometry, SectionType sectionType = SectionType.Unknown, int? limit = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| HeadCode | headCode | The head code to get sections for |
| Country | country | The country to get sections for |
| SystemType | unitSystem | The unit system to get sections for |
| MaterialType | materialType | The material type to get sections of |
| SectionGeometry | sectionGeometry | The section geometry to get sections of |
| SectionType | sectionType | The section type to get sections of (Unknown to retrieve all) |
| int? | limit | The maximum number of sections to retrieve (null to retrieve all) |
| CancellationToken | cancellationToken | The optional cancellation token |
Returns
| Type | Description |
|---|---|
| Task<IEnumerable<INonParametricSection>> | A collection of non-parametric sections fulfilling given criteria |