ILoadcaseGetLoadsAsync Method

Returns a collection of loads with given types

Namespace:  TSD.API.Remoting.Loading
Assembly:  TSD.API.Remoting (in TSD.API.Remoting.dll) Version: 0.22.4.0116
Syntax
Task<IEnumerable<ILoad>> GetLoadsAsync(
	IEnumerable<LoadType> loadTypes = null,
	CancellationToken cancellationToken = default
)

Parameters

loadTypes (Optional)
Type: System.Collections.GenericIEnumerableLoadType
The optional requested load types, pass null to retrieve all
cancellationToken (Optional)
Type: System.ThreadingCancellationToken
The optional cancellation token

Return Value

Type: TaskIEnumerableILoad
A collection of specified loads
See Also