コード例 #1
0
 public ComputerController(IErrorService errorService, IComputerService computerService,
                           IDeparmentTypeService deparmentTypeService, IComputerTypeService computerTypeService,
                           IProducerTypeService producerTypeService
                           ) :
     base(errorService)
 {
     _computerService      = computerService;
     _deparmentTypeService = deparmentTypeService;
     _computerTypeService  = computerTypeService;
     _producerTypeService  = producerTypeService;
 }
コード例 #2
0
 public FakeDataController(
     IErrorService errorService,
     IComputerService computerService,
     IComputerTypeService computerTypeService,
     IDeparmentTypeService deparmentTypeService,
     IProducerTypeService producerTypeService,
     IComputerUsingHistoryService computerUsingHistoryService) :
     base(errorService)
 {
     this._computerService        = computerService;
     _computerTypeService         = computerTypeService;
     _deparmentTypeService        = deparmentTypeService;
     _producerTypeService         = producerTypeService;
     _computerUsingHistoryService = computerUsingHistoryService;
 }
コード例 #3
0
 public ComputerTypeController(IErrorService errorService, IComputerTypeService computerTypeService) : base(errorService)
 {
     _computerTypeService = computerTypeService;
 }
コード例 #4
0
 public ComputerTypeController(IComputerTypeService computerTypeService)
 {
     _computerTypeService = computerTypeService;
 }