예제 #1
0
 public RaidService(IRaidRepository raidRepository, IGymService gymService, IPokemonService pokemonService, IRaidbossService raidbossService, ILocalizationService localizationService)
 {
     RaidRepository      = raidRepository;
     LocalizationService = localizationService;
     GymService          = gymService;
     PokemonService      = pokemonService;
     RaidbossService     = raidbossService;
 }
 public PokemonService(IRaidbossService raidbossService, ILocalizationService localizationService, IFileWatcherService fileWatcherService)
 {
     LocalizationService = localizationService;
     FileWatcherService  = fileWatcherService;
     RaidbossService     = raidbossService;
     PokemonPerCulture   = new LazyConcurrentDictionary <CultureInfo, List <IPokemon> >();
     LoadPokemon("de-DE");
     LoadPokemon("en-US");
 }