AzureCosmosDbGetAssignmentsByScopeT Method

Retrieves the assignment of action flows to a scope. If there are no assignments for the provided scope, then an empty list will be returned.

Definition

Namespace: MobileTrack.DataContainers.Cosmos
Assembly: MobileTrack.DataContainers (in MobileTrack.DataContainers.dll) Version: 0.8+34f1bbd8dc6b32752cfce829cbed66e15113d7ba
public Task<List<ActionFlowAssignmentDto>> GetAssignmentsByScope<T>(
	CompanyDto company,
	T scope,
	CancellationToken cancellationToken
)
where T : class, IIdLabel, IHasEnvironment

Parameters

company  CompanyDto
Company to retrieve the assignments for.
scope  T
Scope to retrieve the assignments for.
cancellationToken  CancellationToken
Cancellation token

Type Parameters

T

[Missing <typeparam name="T"/> documentation for "M:MobileTrack.DataContainers.Cosmos.AzureCosmosDb.GetAssignmentsByScope``1(MobileTrack.Common.Models.CompanyDto,``0,System.Threading.CancellationToken)"]

Return Value

TaskListActionFlowAssignmentDto
List of found assignments. If none exist, an empty ListT will be returned.

Implements

IAzureCosmosDbGetAssignmentsByScopeT(CompanyDto, T, CancellationToken)

Exceptions

ArgumentNullExceptionThrown if company or scope is .

See Also