Method GetMaterialsAsync
GetMaterialsAsync(HeadCode, MaterialType, CancellationToken)
Returns a collection of materials compatible with the given head code and type
Declaration
Task<IEnumerable<IMaterial>> GetMaterialsAsync(HeadCode headCode, MaterialType materialType, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| HeadCode | headCode | The head code to get materials for |
| MaterialType | materialType | The material type to get materials for |
| CancellationToken | cancellationToken | The optional cancellation token |
Returns
| Type | Description |
|---|---|
| Task<IEnumerable<IMaterial>> | A collection of materials compatible with the given head code |