コード例 #1
0
ファイル: PartyHub.cs プロジェクト: viktorgullmark/exilence
        public PartyHub(
            ILadderService ladderService,
            IConfiguration configuration,
            IMongoRepository mongoRepository
            )
        {
            _ladderService   = ladderService;
            _configuration   = configuration;
            _mongoRepository = mongoRepository;

            _key = _configuration.GetValue <string>("Spectator:Key");
        }
コード例 #2
0
ファイル: PartyHub.cs プロジェクト: yazilliclick/exilence
 public PartyHub(IDistributedCache cache, IRedisRepository redisRepository, ILadderService ladderService)
 {
     _cache           = cache;
     _redisRepository = redisRepository;
     _ladderService   = ladderService;
 }
コード例 #3
0
 public LadderController(ILadderService ladderService)
 {
     this.ladderService = ladderService;
 }
コード例 #4
0
 public LaddersController(IUnitOfWork unitOfWork, ILadderService ladderService)
     : base(unitOfWork)
 {
     this.ladderService = ladderService;
 }
コード例 #5
0
 public TimedHostedService(ILadderService ladderService)
 {
     _ladderService = ladderService;
 }
コード例 #6
0
 public LadderJob(ILifetimeScope scope)
     : base(scope)
 {
     this.unitOfWork = this.LifetimeScope.Resolve<IUnitOfWork>();
     this.ladderService = this.LifetimeScope.Resolve<ILadderService>();
 }
コード例 #7
0
 public LadderController(ILadderService ladderService, ILogger <LadderController> log, IMongoRepository repository)
 {
     _log           = log;
     _ladderService = ladderService;
     _repository    = repository;
 }
コード例 #8
0
 public LadderController(ILadderService ladderService)
 {
     this.ladderService = ladderService;
 }
コード例 #9
0
 public AccountDeletedHandler(IUnitOfWork unitOfWork, ILadderService ladderService)
 {
     this.unitOfWork    = unitOfWork;
     this.ladderService = ladderService;
 }
コード例 #10
0
 public LadderController(ILadderService ladderService, ILogger <LadderController> log)
 {
     _log           = log;
     _ladderService = ladderService;
 }
コード例 #11
0
 public LadderController(ILadderService ladderService, ILoggerAdapter <LadderController> logger, IJWTPayloadHolder jwtPayload)
 {
     _ladderService = ladderService;
     _logger        = logger;
     _jwtPayload    = jwtPayload;
 }