コード例 #1
0
        public DataRepository(IManufacturerService manufacturerService, IConnectionTypeService connectionTypeService, IScreenTypeService screenTypeService)
        {
            _manufacturerService   = manufacturerService;
            _connectionTypeService = connectionTypeService;
            _screenTypeService     = screenTypeService;

            _manufacturers   = new Lazy <List <ManufacturerDto> >(GetManufacturers);
            _connectionTypes = new Lazy <List <InterfaceForConnectingDto> >(GetConnectionTypes);
            _screenTypes     = new Lazy <List <ScreenTypeDto> >(GetScreenTypes);
        }
コード例 #2
0
 public ScreenTypeController(IScreenTypeService screenTypeService)
 {
     _screenTypeService = screenTypeService;
 }