public PlayersApi(IPlayerTable playerTable, IMapper mapper, JsonSerializerOptions jsonOptions, JsonObjectSerializer jsonSerializer, IAuthorize authorize, IPlayerLogTable playerLogTable, IPlayerResultTable playerResultTable) : base(playerTable, jsonOptions, jsonSerializer) { this.mapper = mapper; this.authorize = authorize; this.playerLogTable = playerLogTable; this.playerResultTable = playerResultTable; }
public PlayersPlayApi(IPlayerTable playerTable, JsonSerializerOptions jsonOptions, JsonObjectSerializer jsonSerializer, IAuthorize authorize, IGameClient gameClient, IPlayerLogTable playerLogTable, IPlayerResultTable playerResultTable, IPlayerGameLeaseManager playerGameLease, IConfiguration configuration, IMessageSender messageSender) : base(playerTable, jsonOptions, jsonSerializer) { this.authorize = authorize; this.gameClient = gameClient; this.playerLogTable = playerLogTable; this.playerResultTable = playerResultTable; this.playerGameLease = playerGameLease; this.messageSender = messageSender; if (serviceBusConnectionString == null) { serviceBusConnectionString = configuration["AzureWebJobsServiceBus"]; } }