Beispiel #1
0
 public OrderController(IOrderService orderService, IClientService clientService,
                        IShoeService shoeService)
 {
     this.orderService  = orderService;
     this.clientService = clientService;
     this.shoeService   = shoeService;
 }
Beispiel #2
0
 /// <summary>
 /// When created the initial status and score of the player are determined
 /// </summary>
 /// <param name="shoeService">depending on the implementation (strategy pattern) of the shoe the hand may differ</param>
 /// <param name="scoreCalculator"></param>
 /// <param name="name"></param>
 protected Player(IShoeService shoeService, IScoreCalculator scoreCalculator, string name = "")
 {
     _scoreCalculator = scoreCalculator;
     ShoeService = shoeService;
     Name = name;
     Reset();
 }
 public CartController(ICartManager cartManager, IShoeService shoeService, IOrderService orderService, UserManager <User> userManager)
 {
     this.cartManager  = cartManager;
     this.shoeService  = shoeService;
     this.orderService = orderService;
     this.userManager  = userManager;
 }
 public ShoesController(IShoeService shoeService)
 {
     _shoesService = shoeService;
 }
Beispiel #5
0
 public ShoeController(IShoeService serv)
 {
     _service = serv;
 }
 public ShoeController(IShoeService shoeService)
 {
     this.shoeService = shoeService;
 }
 public ShoeController(IShoeService iShoeService)
 {
     _iShoeService = iShoeService;
 }
 public HumanPlayer(IShoeService shoeService,
                    IScoreCalculator scoreCalculator,
                    string name = "")
     : base(shoeService, scoreCalculator, name)
 {
 }
 public ShoeController(IShoeService shoeService)
 {
     _shoeService = shoeService;
 }
 public ComputerDealer(IShoeService shoeService, IScoreCalculator scoreCalculator)
     : base(shoeService, scoreCalculator)
 {
 }