Exemple #1
0
 public HomeController(IPokemonBuilder pokemonServer, ISimplifiedPokemonBuilder simplifiedPokemonServer,
                       IConfiguration configuration)
 {
     // register injected objects to home controller
     _configuration     = configuration;
     _pokemon           = pokemonServer;
     _simplifiedPokemon = simplifiedPokemonServer;
 }
Exemple #2
0
 public PokemonCreator(IPokemonBuilder builder)
 {
     this.builder = builder;
 }