IAzureCosmosDbGetAssignmentsByScopeT 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.7+1dadc87dcf0a0f837e19a3ce2deb7c1cd85375d1
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.IAzureCosmosDb.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.

Exceptions

ArgumentNullExceptionThrown if company or scope is .

See Also