Method GetPileTypeByNameAsync
GetPileTypeByNameAsync(string?, CancellationToken)
Queries a pile type by the given name
Declaration
Task<IPileType> GetPileTypeByNameAsync(string? name, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | The name of the pile type |
| CancellationToken | cancellationToken | The optional cancellation token |
Returns
| Type | Description |
|---|---|
| Task<IPileType> | A pile type with given name |