public InventoryController(IBrassService iBrassService, IBulletService iBulletService, ICartridgeLoadService iCartridgeLoadService, ICartridgeService iCartridgeService, IPowderService iPowderService, IPrimerService iPrimerService)
 {
     this.brassService         = iBrassService;
     this.bulletService        = iBulletService;
     this.cartridgeLoadService = iCartridgeLoadService;
     this.cartridgeService     = iCartridgeService;
     this.powderService        = iPowderService;
     this.primerService        = iPrimerService;
 }
 public InventoryController()
 {
     this.brassService         = new BrassService();
     this.bulletService        = new BulletService();
     this.cartridgeLoadService = new CartridgeLoadService();
     this.cartridgeService     = new CartridgeService();
     this.powderService        = new PowderService();
     this.primerService        = new PrimerService();
 }
示例#3
0
 public BrassController(IBrassService service) : base(service)
 {
     this.service = service;
 }
 public ShootingSessionController(IShootingSessionService iService, ICartridgeService iCartridgeService, IBrassService iBrassService)
 {
     this.service          = iService;
     this.cartridgeService = iCartridgeService;
     this.brassService     = iBrassService;
 }
 public ShootingSessionController()
 {
     this.service          = new ShootingSessionService();
     this.cartridgeService = new CartridgeService();
     this.brassService     = new BrassService();
 }