public ShoppingBasketService(IBasketRepository basketRepository,
                              IBasketFactory basketFactory,
                              Inventory inventory)
 {
     this.basketRepository = basketRepository;
     this.basketFactory    = basketFactory;
     this.inventory        = inventory;
 }
 public SalesProcessingService(
     IBasketValidator basketValidator,
     IBasketFactory basketFactor,
     ISaleCalculator saleCalculator)
 {
     _basketValidator = basketValidator;
     _basketFactory   = basketFactor;
     _saleCalculator  = saleCalculator;
 }
 public RoundDirector(IPlayerProvider playerProvider, StageScoreManager stageScoreManager, IPlayerFactory playerFactory, StageMapSetting stageMapSetting, IBasketFactory basketFactory,
                      ScoreManager scoreManager)
 {
     _playerProvider    = playerProvider;
     _stageScoreManager = stageScoreManager;
     _playerFactory     = playerFactory;
     _stageMapSetting   = stageMapSetting;
     _basketFactory     = basketFactory;
     _scoreManager      = scoreManager;
 }
示例#4
0
 public BasketHub(IBasketFactory basketFactory, CatalogContext context) 
 {
     _basketFactory = basketFactory;
     _context = context;
 }