コード例 #1
0
 public DeckRepository(GodsArenaApiContext context, ILevelSlotRepository levelSlotRepository, IPackRepository packRepository, IPackContentRepository packContentRepository)
     : base(context)
 {
     _levelSlotRepository   = levelSlotRepository;
     _packRepository        = packRepository;
     _packContentRepository = packContentRepository;
 }
コード例 #2
0
 /// <summary>
 /// Ctor
 /// </summary>
 /// <param name="phraseRepository"></param>
 /// <param name="packRepository"></param>
 /// <param name="userRepository"></param>
 /// <param name="logger"></param>
 public PhrasesController(IPhraseRepository phraseRepository, IPackRepository packRepository,
                          IUserRepository userRepository, ILogger <PhrasesController> logger)
 {
     _phraseRepository = phraseRepository;
     _packRepository   = packRepository;
     _userRepository   = userRepository;
     _logger           = logger;
 }
コード例 #3
0
 public PlayerRepository(GodsArenaApiContext context, IWalletRepository walletRepository, IPlayerStatsRepository playerStatsRepository, IDeckRepository deckRepository, IPackRepository packRepository)
     : base(context)
 {
     _walletRepository      = walletRepository;
     _playerStatsRepository = playerStatsRepository;
     _deckRepository        = deckRepository;
     _packRepository        = packRepository;
 }
コード例 #4
0
 public LootTableRepository(GodsArenaApiContext context, IGoldLootRepository goldLootRepository, ILootRepository lootRepository, IWalletRepository walletRepository, IPackRepository packRepository)
     : base(context)
 {
     _goldLootRepository = goldLootRepository;
     _lootRepository     = lootRepository;
     _walletRepository   = walletRepository;
     _packRepository     = packRepository;
 }
コード例 #5
0
        public PackController(IPackRepository packRepository,

                              ILoggerService logger,
                              IMapper mapper
                              )
        {
            this.packRepository = packRepository;
            // this.measurementRepository = measurementRepository;
            this.logger = logger;
            this.mapper = mapper;
        }
コード例 #6
0
 public PackContentRepository(GodsArenaApiContext context /*, IPackRepository packRepository, IDeckRepository deckRepository*/, ILevelSlotRepository levelSlotRepository)
     : base(context)
 {
     _packRepository = new PackRepository(context, this);
     _deckRepository = new DeckRepository(context, levelSlotRepository, _packRepository, this);
 }
コード例 #7
0
ファイル: ScannerAPIs.cs プロジェクト: Proerp/LAVIE12AUG
 public ScannerAPIs(IPackRepository packRepository, ICartonRepository cartonRepository, IPalletRepository palletRepository)
 {
     this.packRepository   = packRepository;
     this.cartonRepository = cartonRepository;
     this.palletRepository = palletRepository;
 }
コード例 #8
0
ファイル: PackService.cs プロジェクト: Proerp/PAILDOUBLECHECK
 public PackService(IPackRepository packRepository)
     : base(packRepository)
 {
     this.packRepository = packRepository;
 }
コード例 #9
0
 public PackContentController(IPlayerRepository playerRepository, IPackContentRepository packContentRepository, IPackRepository packRepository)
 {
     _playerRepository      = playerRepository;
     _packContentRepository = packContentRepository;
     _packRepository        = packRepository;
 }
コード例 #10
0
        public PackController(IPackRepository packRepo, DataContext context)
        {
            _packRepo = packRepo;

            _context = context;
        }
コード例 #11
0
ファイル: PackService.cs プロジェクト: dorucioclea/pitch-api
 public PackService(IPackRepository packRepository, IBus bus)
 {
     _packRepository = packRepository;
     _bus            = bus;
 }
コード例 #12
0
 /// <summary>
 /// Initialises a new instance of the <see cref="PacksController" /> class.
 /// </summary>
 ///
 /// <param name="logger"> The logger. </param>
 /// <param name="repository"> The repository. </param>
 public PacksController(ILogger <PacksController> logger, IPackRepository repository)
 {
     this.logger     = logger;
     this.repository = repository;
 }
コード例 #13
0
 public PackService(IPackRepository packRepository)
     : base(packRepository, "PackPostSaveValidate", "PackSaveRelative")
 {
     this.packRepository = packRepository;
 }
コード例 #14
0
 /// <summary>
 /// Ctor
 /// </summary>
 /// <param name="packRepository"></param>
 /// <param name="userRepository"></param>
 /// <param name="logger"></param>
 public PacksController(IPackRepository packRepository, IUserRepository userRepository, ILogger <PacksController> logger)
 {
     _packRepository = packRepository;
     _userRepository = userRepository;
     _logger         = logger;
 }