Пример #1
0
 public PlayerController(
     IGameResultViewModelBuilder builder,
     IPlayerDetailsViewModelBuilder playerDetailsViewModelBuilder,
     IShowingXResultsMessageBuilder showingXResultsMessageBuilder,
     IPlayerSaver playerSaver,
     IPlayerRetriever playerRetriever,
     IPlayerInviter playerInviter,
     IPlayerEditViewModelBuilder playerEditViewModelBuilder,
     IPlayerSummaryBuilder playerSummaryBuilder,
     ITopPlayerViewModelBuilder topPlayerViewModelBuilder,
     INemesisHistoryRetriever nemesisHistoryRetriever,
     INemesisChangeViewModelBuilder nemesisChangeViewModelBuilder,
     IPlayerDeleter playerDeleter)
 {
     this.builder = builder;
     this.playerDetailsViewModelBuilder = playerDetailsViewModelBuilder;
     this.showingXResultsMessageBuilder = showingXResultsMessageBuilder;
     this.playerSaver = playerSaver;
     this.playerRetriever = playerRetriever;
     this.playerInviter = playerInviter;
     this.playerEditViewModelBuilder = playerEditViewModelBuilder;
     this.playerSummaryBuilder = playerSummaryBuilder;
     this.topPlayerViewModelBuilder = topPlayerViewModelBuilder;
     this.nemesisHistoryRetriever = nemesisHistoryRetriever;
     this.nemesisChangeViewModelBuilder = nemesisChangeViewModelBuilder;
     _playerDeleter = playerDeleter;
 }
Пример #2
0
 public PlayerController(
     IGameResultViewModelBuilder builder,
     IPlayerDetailsViewModelBuilder playerDetailsViewModelBuilder,
     IShowingXResultsMessageBuilder showingXResultsMessageBuilder,
     IPlayerSaver playerSaver,
     IPlayerRetriever playerRetriever,
     IPlayerInviter playerInviter,
     IPlayerEditViewModelBuilder playerEditViewModelBuilder,
     IPlayerSummaryBuilder playerSummaryBuilder,
     ITopPlayerViewModelBuilder topPlayerViewModelBuilder,
     INemesisHistoryRetriever nemesisHistoryRetriever,
     INemesisChangeViewModelBuilder nemesisChangeViewModelBuilder,
     IPlayerDeleter playerDeleter)
 {
     this.builder = builder;
     this.playerDetailsViewModelBuilder = playerDetailsViewModelBuilder;
     this.showingXResultsMessageBuilder = showingXResultsMessageBuilder;
     this.playerSaver                   = playerSaver;
     this.playerRetriever               = playerRetriever;
     this.playerInviter                 = playerInviter;
     this.playerEditViewModelBuilder    = playerEditViewModelBuilder;
     this.playerSummaryBuilder          = playerSummaryBuilder;
     this.topPlayerViewModelBuilder     = topPlayerViewModelBuilder;
     this.nemesisHistoryRetriever       = nemesisHistoryRetriever;
     this.nemesisChangeViewModelBuilder = nemesisChangeViewModelBuilder;
     _playerDeleter = playerDeleter;
 }
Пример #3
0
 public PlayerSaver(IDataContext dataContext, INemeStatsEventTracker eventTracker, INemesisRecalculator nemesisRecalculator,
                    IPlayerInviter playerInviter, IChampionRecalculator championRecalculator)
 {
     _dataContext          = dataContext;
     _eventTracker         = eventTracker;
     _nemesisRecalculator  = nemesisRecalculator;
     _playerInviter        = playerInviter;
     _championRecalculator = championRecalculator;
 }