示例#1
0
 public MainPageViewModel(INavigationService navigationService)
     : base(navigationService)
 {
     Title                 = "Start Wars";
     starWarsService       = new StarWarsService();
     LoadingPersonsCommand = new DelegateCommand(PopulaListaAsync);
 }
示例#2
0
 public StarWarsController(IStarWarsService starWarsService)
 {
     _starWarsService = starWarsService;
 }
示例#3
0
 public App(IStarWarsService service)
 {
     _service = service;
 }
 public MovieCollectorService(MongoDbContext db, IStarWarsService swService)
 {
     _db        = db;
     _swService = swService;
 }
示例#5
0
 public PeopleController(IStarWarsService service)
 {
     _service = service;
 }
示例#6
0
 public StarWarsController(IStarWarsService service)
 {
     this.service = service;
 }
示例#7
0
 public HomeController(IStarWarsService starWarsService)
 {
     _StarWarsService = starWarsService;
 }
示例#8
0
 //error handling / pages
 //check static mobile
 //cancellation tokens?
 //testing?
 public HomeController(IStarWarsService starWarsService, IViewMapperHelper viewMapperHelper)
 {
     _starWarsService  = starWarsService;
     _viewMapperHelper = viewMapperHelper;
 }
示例#9
0
 public HomeController(IStarWarsService starWarsService, IMapper mapper)
 {
     _starWarsService = starWarsService;
     _mapper          = mapper;
 }
 public StarWarsServiceTest()
 {
     _mockHttpService = new HttpServiceMock();
     _starWarsService = new SWAPIStarWarsService(_mockHttpService);
 }
 public StarWarsController(ILogger <StarWarsController> logger, IStarWarsService starWarsService)
 {
     _logger          = logger;
     _starWarsService = starWarsService;
 }
 public StarWarsFacade(IStarWarsService starWarsService)
 {
     _starWarsService = starWarsService;
 }