UserSessionData(IAzureCosmosDb, AccountDto, String) Constructor

Constructor with pre-set account

Definition

Namespace: MobileTrack.DataContainers.Models
Assembly: MobileTrack.DataContainers (in MobileTrack.DataContainers.dll) Version: 0.8+34f1bbd8dc6b32752cfce829cbed66e15113d7ba
public UserSessionData(
	IAzureCosmosDb cosmosDb,
	AccountDto account,
	string ipAddress
)

Parameters

cosmosDb  IAzureCosmosDb
Cosmos DB (pass from dependency injection)
account  AccountDto
User account
ipAddress  String
User Ipaddress

Exceptions

ArgumentNullExceptionThrown if account was not set.

See Also