public ParkCarport(MainWindowViewModel mainWindowViewModel, ICarPortAppService carPortAppService) { InitializeComponent(); _mainWindowViewModel = mainWindowViewModel; _carPortAppService = carPortAppService; _parkCarportViewModel = new ParkCarportViewModel(); this.DataContext = _parkCarportViewModel; }
public AddCarports(MainWindowViewModel mainWindowViewModel, ICarPortAppService carPortAppService) { InitializeComponent(); _mainWindowViewModel = mainWindowViewModel; _addPortsViewModel = new AddPortsViewModel(); this.DataContext = _addPortsViewModel; _carPortAppService = carPortAppService; }
public BatchRecord(ICarPortAppService carPortAppService, MainWindowViewModel mainWindowViewModel, UserManagerViewModel userManagerViewModel, CarPortListDto carPortListDto) { InitializeComponent(); _carPortListDto = carPortListDto; _carPortAppService = carPortAppService; _mainWindowViewModel = mainWindowViewModel; _userManagerViewModel = userManagerViewModel; }
public CarportInfo(ICarPortAppService carPortAppService, MainWindowViewModel mainWindowViewModel, UserManagerViewModel userManagerViewModel, CarPortListDto carPortListDto) { InitializeComponent(); _carPortListDto = carPortListDto; _carPortAppService = carPortAppService; _mainWindowViewModel = mainWindowViewModel; _userManagerViewModel = userManagerViewModel; _carPortTimeExTenstionViewModel = new CarPortTimeExTenstionViewModel(); }
/// <summary> /// 构造函数 ///</summary> public CarUsersAppService( IRepository <CarUsers, long> carusersRepository , ICarUsersManager carusersManager, ICarPortAppService carPortAppService ) { _carusersRepository = carusersRepository; _carusersManager = carusersManager; _carPortAppService = carPortAppService; }
public CarPortTimeExtension(ICarPortAppService carPortAppService, MainWindowViewModel mainWindowViewModel, UserManagerViewModel userManagerViewModel, CarPortListDto carPortListDto) { InitializeComponent(); _carPortAppService = carPortAppService; _mainWindowViewModel = mainWindowViewModel; _userManagerViewModel = userManagerViewModel; _carPortTimeExTenstionViewModel = new CarPortTimeExTenstionViewModel(); _carPortTimeExTenstionViewModel.CarPortListDto = carPortListDto; DataContext = _carPortTimeExTenstionViewModel; _rechargeRecordAppService = IocManager.Resolve <IRechargeRecordAppService>(); }
public UserManager(MainWindowViewModel mainWindowViewModel, ICarUsersAppService carUsersAppService, IParkAreasAppService parkAreasAppService, ICarUserGroupAppService carUserGroupAppService, ICarNumbersAppService carNumbersAppService, ICarPortAppService carPortAppService ) { InitializeComponent(); _mainWindowViewModel = mainWindowViewModel; _carUsersAppService = carUsersAppService; _parkAreasAppService = parkAreasAppService; _carUserGroupAppService = carUserGroupAppService; _carNumbersAppService = carNumbersAppService; _carPortAppService = carPortAppService; _managerViewModel = new UserManagerViewModel(); DataContext = _managerViewModel; }
public AddCarport(MainWindowViewModel mainWindowViewModel, ICarPortAppService carPortAppService, CarUsersListDto carUsersListDto) : this(mainWindowViewModel, carPortAppService) { this._carUsersListDto = carUsersListDto; }