Esempio n. 1
0
        public KPIViewModel(IEventAggregator messageBus, IPokedexRepository pokedexRepository)
            : base(messageBus)
        {
            _pokedexRepository = pokedexRepository;

            KPIChartLoaded = new DelegateCommand(async () => await OnKPIGridLoaded());
        }
Esempio n. 2
0
        public KPIDynamicViewModel(IEventAggregator messageBus, IPokemonStatRepository pokemonStatRepository, IPokedexRepository pokedexRepository)
            : base(messageBus)
        {
            _pokemonStatRepository = pokemonStatRepository;
            _pokedexRepository = pokedexRepository;

            KPIDynamicLoaded = new DelegateCommand(async () => await OnKPIDynamicLoaded());
            SaveCommand = new DelegateCommand(async () => await OnSaveCommand());
        }
Esempio n. 3
0
        public ChartViewModel(IEventAggregator messageBus, IPokemonStatRepository pokemonStatRepository, IPokedexRepository pokedexRepository)
            : base(messageBus)
        {
            _pokemonStatRepository = pokemonStatRepository;
            _pokedexRepository = pokedexRepository;

            KPIDynamicLoaded = new DelegateCommand(async () => await OnKPIDynamicLoaded());
            SaveCommand = new DelegateCommand(async () => await OnSaveCommand());
            Stat1SelectionChangedCommand = new DelegateCommand<Pokedex>(OnStat1SelectionChanged);
            Stat2SelectionChangedCommand = new DelegateCommand<Pokedex>(OnStat2SelectionChanged);
        }
Esempio n. 4
0
 public PokemonController(IPokedexRepository pokedexRepository)
 {
     _pokedexRepository = pokedexRepository;
 }
Esempio n. 5
0
 public PokedexAppLogic(ILoggerAdapter <PokedexAppLogic> logger, IMapper mapper, IPokedexRepository pokedexRepository)
 {
     _logger            = logger;
     _mapper            = mapper;
     _pokedexRepository = pokedexRepository;
 }
Esempio n. 6
0
 public PokedexAPILogic(IPokedexRepository pokedexRepository, ILoggerAdapter <PokedexAPILogic> logger)
 {
     _pokedexRepository = pokedexRepository;
     _logger            = logger;
 }
 public PokedexService(IPokedexRepository pokedexRepository)
 {
     _pokedexRepository = pokedexRepository;
 }
Esempio n. 8
0
 public PokedexController(ILogger <PokedexController> logger, IPokedexRepository repo)
 {
     _logger = logger;
     _repo   = repo;
 }