public FromLocationPageViewModel(ILocationTracker locationTracker, INavigationService navigationService, ITaxiService taxiService) { _locationTracker = locationTracker; _navigationService = navigationService; _taxiService = taxiService; init(); }
public LoginPageViewModel(IPageDialogService dialogService, ITaxiService taxiService, INavigationService navigationService) { _dialogService = dialogService; _taxiService = taxiService; _navigationService = navigationService; #if DEBUG PhoneNumber = "9039818881"; Password = "******"; #endif }
public GuestController() { _guestService = new GuestService(); _personService = new PersonService(); _movieService = new MovieService(); _posItemService = new POSItemService(); _taxiService = new TaxiService(); _adventureService = new AdventureService(); _movieCategoryService = new MovieCategoryService(); _guestPlaylistService = new GuestPlaylistService(); _escortService = new EscortService(); }
public OrdersController() { taxiService = ServiceLocator.ServiceLocatorPropertes.GetService<ITaxiService>(); }
public HomeController() { _service = ServiceLocator.ServiceLocatorPropertes.GetService<ITaxiService>(); }
public ConfirmOrderPageViewModel(IPageDialogService dialogService, ITaxiService taxiService, INavigationService navigationService) { _dialogService = dialogService; _taxiService = taxiService; _navigationService = navigationService; }
public TaxiesController(IGetATaxiData data, IDropDownListPopulator populator) : base(data, populator) { this.TaxiService = new TaxiService(data); this.AccountService = new AccountService(data); }
/// <summary> /// Creates new Taxi Controller instance /// </summary> /// <param name="taxi">Taxi Service</param> /// <param name="mapper">Taxi Response Mapper</param> public TaxiController(ITaxiService taxi, ITaxiResponseMapper mapper, IRequestValidator validator) { _taxi = taxi; _mapper = mapper; _validator = validator; }
/// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='model'> /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <ResQYttriumWebApiModelsCreateTaxiServiceResultModel> CreateAsync(this ITaxiService operations, ResQYttriumWebApiModelsCreateTaxiServiceModel model, CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.CreateWithHttpMessagesAsync(model, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }
/// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='model'> /// </param> public static ResQYttriumWebApiModelsCreateTaxiServiceResultModel Create(this ITaxiService operations, ResQYttriumWebApiModelsCreateTaxiServiceModel model) { return(Task.Factory.StartNew(s => ((ITaxiService)s).CreateAsync(model), operations, CancellationToken.None, TaskCreationOptions.None, TaskScheduler.Default).Unwrap().GetAwaiter().GetResult()); }
public DestinationPageViewModel(IPageDialogService dialogService, ITaxiService taxiService, INavigationService navigationService) { _dialogService = dialogService; _taxiService = taxiService; _navigationService = navigationService; }
public OrderPageViewModel(INavigationService navigationService, ITaxiService taxiService, IPageDialogService dislogService) { _taxiService = taxiService; _navigationService = navigationService; _dialogService = dislogService; }
public FromLocationAddressPageViewModel(IPageDialogService dialogService, ITaxiService taxiService, INavigationService navigationService) { _dialogService = dialogService; _taxiService = taxiService; _navigationService = navigationService; }