Ejemplo n.º 1
0
 public PlayedGameController(
     NemeStatsDataContext dataContext,
     IPlayedGameRetriever playedGameRetriever,
     IPlayerRetriever playerRetriever,
     IPlayedGameDetailsViewModelBuilder builder,
     IGameDefinitionRetriever gameDefinitionRetriever,
     IPlayedGameSaver playedGameSaver,
     IPlayedGameDeleter playedGameDeleter,
     IPlayerSaver playerSaver,
     IMapperFactory mapperFactory,
     ICreatePlayedGameComponent createPlayedGameComponent,
     ICreateGameDefinitionComponent createGameDefinitionComponent)
 {
     _dataContext                   = dataContext;
     _playedGameRetriever           = playedGameRetriever;
     _playerRetriever               = playerRetriever;
     _playedGameDetailsBuilder      = builder;
     _gameDefinitionRetriever       = gameDefinitionRetriever;
     _playedGameSaver               = playedGameSaver;
     _playedGameDeleter             = playedGameDeleter;
     _playerSaver                   = playerSaver;
     _mapperFactory                 = mapperFactory;
     _createPlayedGameComponent     = createPlayedGameComponent;
     _createGameDefinitionComponent = createGameDefinitionComponent;
 }
Ejemplo n.º 2
0
 public BoardGameGeekGamesImporter(
     IUserRetriever userRetriever,
     IBoardGameGeekApiClient boardGameGeekApiClient,
     IGameDefinitionRetriever gameDefinitionRetriever,
     ICreateGameDefinitionComponent createGameDefinitionComponent)
 {
     _userRetriever                 = userRetriever;
     _boardGameGeekApiClient        = boardGameGeekApiClient;
     _gameDefinitionRetriever       = gameDefinitionRetriever;
     _createGameDefinitionComponent = createGameDefinitionComponent;
 }
Ejemplo n.º 3
0
 public GameDefinitionController(IGameDefinitionRetriever gameDefinitionRetriever,
                                 ITrendingGamesRetriever trendingGamesRetriever,
                                 IGameDefinitionDetailsViewModelBuilder gameDefinitionTransformation,
                                 IGameDefinitionSaver gameDefinitionCreator,
                                 IBoardGameGeekApiClient boardGameGeekApiClient,
                                 IUserRetriever userRetriever,
                                 IBoardGameGeekGamesImporter boardGameGeekGamesImporter,
                                 ITransformer transformer, ICreateGameDefinitionComponent createGameDefinitionComponent)
 {
     _gameDefinitionRetriever      = gameDefinitionRetriever;
     _trendingGamesRetriever       = trendingGamesRetriever;
     _gameDefinitionTransformation = gameDefinitionTransformation;
     _gameDefinitionSaver          = gameDefinitionCreator;
     _boardGameGeekApiClient       = boardGameGeekApiClient;
     _userRetriever = userRetriever;
     _boardGameGeekGamesImporter = boardGameGeekGamesImporter;
     _transformer = transformer;
     _createGameDefinitionComponent = createGameDefinitionComponent;
 }
 public GameDefinitionsController(IGameDefinitionRetriever gameDefinitionRetriever, IGameDefinitionSaver gameDefinitionSaver, ICreateGameDefinitionComponent createGameDefinitionComponent)
 {
     _gameDefinitionRetriever = gameDefinitionRetriever;
     _gameDefinitionSaver = gameDefinitionSaver;
     _createGameDefinitionComponent = createGameDefinitionComponent;
 }