private IGameObjectProcessingStrategy GetChampionStrategy()
 {
     var championsBsonRepo = this.repoFactory.GetRepository(ChampionsCollectionName);
     var championsObjectsRepo = this.repoFactory.GetRepository<Champion>();
     var championsProcessingStrategy = new ChampionProcessingStrategy(championsBsonRepo, championsObjectsRepo);
     return championsProcessingStrategy;
 }
Exemple #2
0
        private IGameObjectProcessingStrategy GetChampionStrategy()
        {
            var championsBsonRepo           = this.repoFactory.GetRepository(ChampionsCollectionName);
            var championsObjectsRepo        = this.repoFactory.GetRepository <Champion>();
            var championsProcessingStrategy = new ChampionProcessingStrategy(championsBsonRepo, championsObjectsRepo);

            return(championsProcessingStrategy);
        }