예제 #1
0
 public TestController(
     ISteamHubConnections steamHubConnections,
     IMatchHubConnections matchHubConnections,
     IRepoServiceFactory repoServiceFactory,
     IJackpotMatchManager jackpotMatchManager,
     ICoinFlipManager coinFlipManager,
     IDatabaseConnectionFactory connectionFactory,
     IGrpcServiceFactory grpcService
     )
 {
     _steamHubConnections   = steamHubConnections;
     _repoServiceFactory    = repoServiceFactory;
     _jackpotMatchManager   = jackpotMatchManager;
     _coinFlipManager       = coinFlipManager;
     _discordSercviceClient = grpcService.GetDiscordSercviceClient();
 }
예제 #2
0
 public CoinFlipController
 (
     ICoinFlipService coinFlipService,
     IDatabaseConnectionFactory connectionFactory,
     IItemService itemService,
     IRepoServiceFactory repoServiceFactory,
     ICoinFlipManager coinFlipManager,
     ILogServiceFactory logServiceFactory,
     IHotStatusManager hotStatusManager
 )
 {
     _logService         = logServiceFactory.CreateLogger <CoinFlipController>();
     _coinFlipService    = coinFlipService;
     _itemService        = itemService;
     _repoServiceFactory = repoServiceFactory;
     _coinFlipManager    = coinFlipManager;
     _hotStatusManager   = hotStatusManager;
 }