public ParticipantStore(DataGathererContext context, int champId) { Participants = new List <MyParticipant>(); this.context = context; foreach (MyParticipant p in context.Participants) { Participants.Add(p); } }
public ChampionWithStatsStore(DataGathererContext context) { this.context = context; ChampionsWithStats = new Dictionary <long, MyChampionWithStats>(); foreach (MyChampionWithStats c in context.ChampionsWithStats) { this.ChampionsWithStats.Add(c.ChampionId, c); } }
public ChampionStore(DataGathererContext context) { this.context = context; Champions = new Dictionary <long, MyChampion>(); foreach (MyChampion c in context.Champions) { this.Champions.Add(c.ChampId, c); } }
public MatchStore(DataGathererContext context) { this.context = context; Matches = new Dictionary <long, MyMatch>(); foreach (MyMatch match in context.Matches) { this.Matches.Add(match.MatchId, match); } }
public ItemStore(DataGathererContext context) { this.context = context; Items = new Dictionary <int, MyItem>(); foreach (MyItem item in context.Items) { this.Items.Add(item.ItemId, item); } }
public SummonerStore(DataGathererContext context) { this.context = context; Summoners = new Dictionary <long, MySummoner>(); foreach (MySummoner sum in context.Summoners) { this.Summoners.Add(sum.SummonerId, sum); } }
public ParticipantStore() { context = new DataGathererContext(); }