IAzureCosmosDbGetEnvironmentDevices Method

Retrieves all Devices belonging to the environment and its sub-environments.

Definition

Namespace: MobileTrack.DataContainers.Cosmos
Assembly: MobileTrack.DataContainers (in MobileTrack.DataContainers.dll) Version: 0.7+1dadc87dcf0a0f837e19a3ce2deb7c1cd85375d1
Task<Dictionary<Guid, DeviceDto>> GetEnvironmentDevices(
	CompanyDto company,
	EnvironmentDto environment,
	CancellationToken cancellationToken = default
)

Parameters

company  CompanyDto
company the environment and Devices belong to
environment  EnvironmentDto
environment to get the items from
cancellationToken  CancellationToken  (Optional)
Cancellation Token

Return Value

TaskDictionaryGuid, DeviceDto
All Devices belonging to the environment and its sub-environments.

Exceptions

ArgumentNullExceptionThrown if company or environment is

See Also