UserSessionData(IAzureCosmosDb, AccountDto, String) Constructor

Constructor with pre-set account

Definition

Namespace: MobileTrack.DataContainers.Models
Assembly: MobileTrack.DataContainers (in MobileTrack.DataContainers.dll) Version: 0.7+45c8d9adb5970d727cceec44a5ed61aea0016e50
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