Method GetMaterialQuantitiesAsync
GetMaterialQuantitiesAsync(MaterialType, string?, IEntityFilterCollection?, CancellationToken)
Returns material quantities for the given parameters
Declaration
Task<IMaterialQuantities> GetMaterialQuantitiesAsync(MaterialType materialType, string? gradeName = null, IEntityFilterCollection? filters = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| MaterialType | materialType | The type of material to get quantities for |
| string | gradeName | The name of the grade to get quantities for (if null, data for all grades will be returned) |
| IEntityFilterCollection | filters | The collection of filters to apply |
| CancellationToken | cancellationToken | The optional cancellation token |
Returns
| Type | Description |
|---|---|
| Task<IMaterialQuantities> | The material quantities |