Пример #1
0
 public LogisticianController(IRouteService routeService, ITrainService trainservice, ICarriageService carriageservice, IRouteDateService routedateservice)
 {
     _trainService     = trainservice;
     _carriageService  = carriageservice;
     _routeService     = routeService;
     _routeDateService = routedateservice;
 }
Пример #2
0
 public AdminController(IStationService stationservice, IRouteService routeService, ITrainService trainservice, ICarriageService carriageservice, IRouteStationService routeStationService)
 {
     _stationService      = stationservice;
     _trainService        = trainservice;
     _carriageService     = carriageservice;
     _routeService        = routeService;
     _routeStationService = routeStationService;
 }
Пример #3
0
 public HeroController(
     IHeroService p_heroService,
     ITrainService p_trainService
     )
 {
     _heroService  = p_heroService;
     _trainService = p_trainService;
 }
        public MainWindowViewModel(ITrainService trainService, ICarriageService carriageService, ITicketService ticketService, ISeatService seatService)
        {
            _trainService    = trainService;
            _carriageService = carriageService;
            _ticketService   = ticketService;
            _seatService     = seatService;

            Date = DateTime.Today;
        }
Пример #5
0
 public HomeController(IStationService stationservice, IRouteService routeService, ITrainService trainservice, IRouteDateService routedateservice, ICarriageService carriageservice, IRouteStationService routestationservice)
 {
     _routeDateService    = routedateservice;
     _stationService      = stationservice;
     _trainService        = trainservice;
     _carriageService     = carriageservice;
     _routeService        = routeService;
     _routeStationService = routestationservice;
 }
Пример #6
0
 public StationViewModel()
 {
     stationService          = new StationService();
     trainService            = new TrainService();
     vanService              = new VanService();
     seatService             = new SeatService();
     passangerService        = new PassangerService();
     classProperetiesService = new ClassProperetiesService();
     ticketService           = new TicketService();
 }
        public LearnWindowViewModel(ITrainService trainService)
        {
            _trainService = trainService;

            PathToGetSamplesButtonPress = new RelayCommand(GetSamplePath);
            PathToSaveAnnButtonPress    = new RelayCommand(GetAnnSavePath);
            TrainButtonPress            = new RelayCommand(LearnNetwork);

            LoadSamples = Path.Combine(Environment.CurrentDirectory, "languages_set.csv");
            SaveAnn     = Path.Combine(Environment.CurrentDirectory, "trained_ann.xml");
        }
Пример #8
0
 public HomeController(
     ILogger <HomeController> log,
     IBikeService bikeService,
     ICarService carService,
     ITrainService trainService)
 {
     _log          = log;
     _bikeService  = bikeService;
     _carService   = carService;
     _trainService = trainService;
 }
Пример #9
0
 public AccountController(ISysRoleService isysRoleService, ITrainService iTrainService, ISysUserService iSysUserService, IUnitOfWork iUnitOfWork, IUserInfo iUserInfo, ISysDepartmentService iDepartmentService, ISysDepartmentSysUserService iSysDepartmentSysUserService)
 {
     _iSysUserService = iSysUserService;
     _iUnitOfWork     = iUnitOfWork;
     _iUserInfo       = iUserInfo;
     _emailService    = new EmailService();
     _iSysDepartmentSysUserService = iSysDepartmentSysUserService;
     _iDepartmentService           = iDepartmentService;
     _iTrainService   = iTrainService;
     _isysRoleService = isysRoleService;
 }
 public TrainController(ITrainService service)
 {
     _service = service;
 }
Пример #11
0
 public TrainController(ITrainService trainService, IUnitOfWork unitOfWork)
 {
     _trainService = trainService;
     _unitOfWork   = unitOfWork;
 }
Пример #12
0
 public TrainsAvailableController(ITrainService trainService, IMapper mapper)
 {
     this._trainService = trainService;
     this._mapper       = mapper;
 }
Пример #13
0
 public TrainController(ITrainService iTrainService)
 {
     _iTrainService = iTrainService;
 }
Пример #14
0
 public HomeController(ITrainService serv)
 {
     trainService = serv;
 }
Пример #15
0
 public TrainController(ITrainService trainService)
 {
     _trainService = trainService;
 }
 public TrainController(ITrainService trainService)
 {
     this.trainService = trainService;
 }
Пример #17
0
 public TrainController(ITrainRepository trainRepository, ITrainService trainService)
 {
     _trainRepository = trainRepository;
     _trainService    = trainService;
 }
Пример #18
0
 public LineController(ILineService lineService, ITrainService trainService)
 {
     this.lineService  = lineService;
     this.trainService = trainService;
 }
Пример #19
0
 public TrainsController(ITrainService TrainService)
 {
     this._TrainService = TrainService;
 }
Пример #20
0
 public TrainClient(ITrainService service)
 {
     _service = service;
 }
Пример #21
0
 public TrainController(ITrainService trains)
 {
     _train = trains;
 }