private void ShowServiceConfiguration() { string lStrConfigurationPath = GetConfigurationPath(); IServiceConfiguration lObjServiceConfiguration = null; switch ((ServiceEnum)cboServices.SelectedItem) { case ServiceEnum.AUCTIONS: lObjServiceConfiguration = new AuctionsService(lStrConfigurationPath, this); break; case ServiceEnum.BOARDS: lObjServiceConfiguration = new BoardsService(lStrConfigurationPath, this); break; case ServiceEnum.WEIGHING_MACHINE: lObjServiceConfiguration = new WeighingMachineService(lStrConfigurationPath, this); break; } lObjServiceConfiguration.ShowConfiguration(this); }
public BoardsController(BoardsService service) { _service = service; }
public AccountController(ProfilesService ps, BoardsService boardsServ) { _ps = ps; _boardsServ = boardsServ; }
public BoardsController(BoardsService bservice) { _bservice = bservice; }
public BoardController() { this._boardsService = new BoardsService(); // We have to initialize boardService }
public ProfilesController(ProfilesService service, BoardsService bservice) { _service = service; _bservice = bservice; }
public AccountController(ProfilesService ps, BoardsService bservice) { _ps = ps; _bservice = bservice; }