/// <summary> /// CharacterCollections Controller. /// </summary> /// <param name="repository"></param> /// <param name="logger"></param> /// <param name="propertyMappingService"></param> /// <param name="typeHelperService"></param> public CharacterCollectionsController(IStarWarsRepository repository, ILogger <CharacterCollectionsController> logger, IPropertyMappingService propertyMappingService, ITypeHelperService typeHelperService) : base(repository, propertyMappingService, typeHelperService) => this.logger = logger;
public FilmController(IStarWarsRepository starWarsRepository, IMapper mapper) { _starWarsRepository = starWarsRepository ?? throw new ArgumentNullException(nameof(starWarsRepository)); _mapper = mapper ?? throw new ArgumentNullException(nameof(mapper)); }
public StarWarsMoviesViewModel(IStarWarsRepository rep, INavigationService nav) { repo = rep; this.nav = nav; LoadCommands(); }
/// <summary> /// Episodes Controller. /// </summary> /// <param name="repository"></param> /// <param name="logger"></param> /// <param name="propertyMappingService"></param> /// <param name="typeHelperService"></param> public EpisodesController(IStarWarsRepository repository, ILogger <EpisodesController> logger, IPropertyMappingService propertyMappingService, ITypeHelperService typeHelperService) : base(repository, propertyMappingService, typeHelperService) => this.logger = logger;
/// <summary> /// Base constructor. /// </summary> /// <param name="repository"></param> /// <param name="propertyMappingService"></param> /// <param name="typeHelperService"></param> public StarWarsController(IStarWarsRepository repository, IPropertyMappingService propertyMappingService, ITypeHelperService typeHelperService) { this.repository = repository; this.propertyMappingService = propertyMappingService; this.typeHelperService = typeHelperService; }
public void Init() { repository = new MockRepository(); }
public PlanetsViewModel(IStarWarsRepository repo) { MessagingCenter.Subscribe<StarWarsMoviesViewModel, SWMovie>(this, "Movie", OnMovieReceived); this.repo = repo; }
public MovieService(IStarWarsRepository repository) { this.repository = repository; }
public SWPlanetService(IStarWarsRepository repository) { this.repository = repository; }
public StarShipService(IStarWarsRepository starWarsRepository) { _starWarsRepository = starWarsRepository; }
public PlanetsViewModel(IStarWarsRepository repo) { Messenger.Default.Register<SWMovie>(this, OnMovieReceived, "Movies"); this.repo = repo; }
public CharactersController(IStarWarsRepository repository, IMapper mapper, ILogger <CharactersController> logger) { _repository = repository; _mapper = mapper; _logger = logger; }