Class AssetLibraryJobQueryBuilder
A class that builds and executes a query to return a set of library jobs.
Inherited Members
Namespace: Unity.Cloud.Assets
Assembly: Unity.Cloud.Assets.dll
Syntax
public class AssetLibraryJobQueryBuilder
Methods
ExecuteAsync(CancellationToken)
Executes the query and returns the results.
Declaration
public IAsyncEnumerable<IAssetLibraryJob> ExecuteAsync(CancellationToken cancellationToken)
Parameters
| Type | Name | Description |
|---|---|---|
| CancellationToken | cancellationToken | A token that can be used to cancel the request. |
Returns
| Type | Description |
|---|---|
| IAsyncEnumerable<IAssetLibraryJob> | An async enumeration of IAssetLibraryJob. |
LimitTo(Range)
Sets the range of results to return.
Declaration
public AssetLibraryJobQueryBuilder LimitTo(Range range)
Parameters
| Type | Name | Description |
|---|---|---|
| Range | range | The range of results. |
Returns
| Type | Description |
|---|---|
| AssetLibraryJobQueryBuilder | The calling AssetLibraryJobQueryBuilder. |