Exemple #1
0
 public BatchRecord(ICarPortAppService carPortAppService, MainWindowViewModel mainWindowViewModel, UserManagerViewModel userManagerViewModel, CarPortListDto carPortListDto)
 {
     InitializeComponent();
     _carPortListDto       = carPortListDto;
     _carPortAppService    = carPortAppService;
     _mainWindowViewModel  = mainWindowViewModel;
     _userManagerViewModel = userManagerViewModel;
 }
Exemple #2
0
 public CarportInfo(ICarPortAppService carPortAppService, MainWindowViewModel mainWindowViewModel, UserManagerViewModel userManagerViewModel, CarPortListDto carPortListDto)
 {
     InitializeComponent();
     _carPortListDto                 = carPortListDto;
     _carPortAppService              = carPortAppService;
     _mainWindowViewModel            = mainWindowViewModel;
     _userManagerViewModel           = userManagerViewModel;
     _carPortTimeExTenstionViewModel = new CarPortTimeExTenstionViewModel();
 }
 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>();
 }