| ISectionFactoryGetNonParametricSectionsAsync(HeadCode, Country, SystemType, MaterialType, SectionGeometry, SectionType, NullableInt32, CancellationToken) Method |
Returns a collection of non-parametric sections fulfilling given criteria
Namespace: TSD.API.Remoting.SectionsAssembly: TSD.API.Remoting (in TSD.API.Remoting.dll) Version: 24.0.1.45+53a79b69d75fb81c51fcd389e0bdcf241e5b9f7c
Syntax Task<IEnumerable<INonParametricSection>> GetNonParametricSectionsAsync(
HeadCode headCode,
Country country,
SystemType unitSystem,
MaterialType materialType,
SectionGeometry sectionGeometry,
SectionType sectionType = SectionType.Unknown,
int? limit = null,
CancellationToken cancellationToken = default
)
Function GetNonParametricSectionsAsync (
headCode As HeadCode,
country As Country,
unitSystem As SystemType,
materialType As MaterialType,
sectionGeometry As SectionGeometry,
Optional sectionType As SectionType = SectionType.Unknown,
Optional limit As Integer? = Nothing,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of IEnumerable(Of INonParametricSection))
Task<IEnumerable<INonParametricSection^>^>^ GetNonParametricSectionsAsync(
HeadCode headCode,
Country country,
SystemType unitSystem,
MaterialType materialType,
SectionGeometry sectionGeometry,
SectionType sectionType = SectionType::Unknown,
Nullable<int> limit = nullptr,
CancellationToken cancellationToken = CancellationToken()
)
abstract GetNonParametricSectionsAsync :
headCode : HeadCode *
country : Country *
unitSystem : SystemType *
materialType : MaterialType *
sectionGeometry : SectionGeometry *
?sectionType : SectionType *
?limit : Nullable<int> *
?cancellationToken : CancellationToken
(* Defaults:
let _sectionType = defaultArg sectionType SectionType.Unknown
let _limit = defaultArg limit null
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<IEnumerable<INonParametricSection>>
Parameters
- headCode HeadCode
- The head code to get sections for
- country Country
- The country to get sections for
- unitSystem SystemType
- 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 (Optional)
- The section type to get sections of (Unknown to retrieve all)
- limit NullableInt32 (Optional)
- The maximum number of sections to retrieve ( to retrieve all)
- cancellationToken CancellationToken (Optional)
- The optional cancellation token
Return Value
TaskIEnumerableINonParametricSectionA collection of non-parametric sections fulfilling given criteria
See Also