Ejemplo n.º 1
0
 /// <summary>
 /// Creates a new ItinerariesController with the given itinerary service.
 /// </summary>
 /// <param name="itineraryService">The itinerary service.</param>
 /// <param name="userProvider">The user provider.</param>
 public ItinerariesController(
     IItineraryService itineraryService,
     IUserProvider userProvider)
 {
     Contract.Requires(itineraryService != null, "The itinerary service must not be null.");
     this.itineraryService = itineraryService;
     this.userProvider     = userProvider;
 }
Ejemplo n.º 2
0
 public CrawlerApp(IRioBusRepository riobusRepository, ILineService lineService, IUnitOfWork work, IModalService modalService, IGpsService gpsService, IItineraryService itineraryService, IDataRioRepository datarioRepository)
 {
     _riobusRepository  = riobusRepository;
     _lineService       = lineService;
     _work              = work;
     _modalService      = modalService;
     _gpsService        = gpsService;
     _itineraryService  = itineraryService;
     _datarioRepository = datarioRepository;
 }
 public ScheduleViewModel(
     IItineraryService itineraryService,
     ISettingsService settingsService,
     IErrorRetryManager errorRetryManager)
 {
     ItineraryService  = itineraryService;
     SettingsService   = settingsService;
     ErrorRetryManager = errorRetryManager;
     Days = new ObservableCollection <Day>();
     DisplayOfflineNotice = true;
     ToggleOfflineNotice  = new DelegateCommand(OnToggleOfflineNotice);
 }
Ejemplo n.º 4
0
 public ScheduleViewModel(
     IItineraryService itineraryService,
     ISettingsService settingsService,
     IErrorRetryManager errorRetryManager,
     IEventAggregator eventAggregator)
 {
     ItineraryService  = itineraryService;
     SettingsService   = settingsService;
     ErrorRetryManager = errorRetryManager;
     EventAggregator   = eventAggregator;
     Days = new ObservableCollection <Day>();
     DisplayOfflineNotice = true;
     ToggleOfflineNotice  = new DelegateCommand(OnToggleOfflineNotice);
     NoticeMargin         = Device.iOS == Device.RuntimePlatform ?
                            new Thickness(0, 0, 0, 60) :
                            new Thickness(0, 0, 0, 25);
 }
Ejemplo n.º 5
0
 public ItineraryApp(IItineraryService itineraryService)
 {
     _itineraryService = itineraryService;
 }
 public ItineraryController(IItineraryService itineraryService)
 {
     this.itineraryService = itineraryService;
 }
Ejemplo n.º 7
0
 public ItineraryController(IItineraryService itineraryService, IUserManagementService userManagement)
 {
     UserManagementService = userManagement;
     ItineraryService      = itineraryService;
 }
Ejemplo n.º 8
0
 public LineApp(ILineService lineService, IItineraryService itineraryService)
 {
     _lineService      = lineService;
     _itineraryService = itineraryService;
 }