コード例 #1
0
 public ParticipantStore(DataGathererContext context, int champId)
 {
     Participants = new List <MyParticipant>();
     this.context = context;
     foreach (MyParticipant p in context.Participants)
     {
         Participants.Add(p);
     }
 }
コード例 #2
0
 public ChampionWithStatsStore(DataGathererContext context)
 {
     this.context       = context;
     ChampionsWithStats = new Dictionary <long, MyChampionWithStats>();
     foreach (MyChampionWithStats c in context.ChampionsWithStats)
     {
         this.ChampionsWithStats.Add(c.ChampionId, c);
     }
 }
コード例 #3
0
 public ChampionStore(DataGathererContext context)
 {
     this.context = context;
     Champions    = new Dictionary <long, MyChampion>();
     foreach (MyChampion c in context.Champions)
     {
         this.Champions.Add(c.ChampId, c);
     }
 }
コード例 #4
0
 public MatchStore(DataGathererContext context)
 {
     this.context = context;
     Matches      = new Dictionary <long, MyMatch>();
     foreach (MyMatch match in context.Matches)
     {
         this.Matches.Add(match.MatchId, match);
     }
 }
コード例 #5
0
 public ItemStore(DataGathererContext context)
 {
     this.context = context;
     Items        = new Dictionary <int, MyItem>();
     foreach (MyItem item in context.Items)
     {
         this.Items.Add(item.ItemId, item);
     }
 }
コード例 #6
0
 public SummonerStore(DataGathererContext context)
 {
     this.context = context;
     Summoners    = new Dictionary <long, MySummoner>();
     foreach (MySummoner sum in context.Summoners)
     {
         this.Summoners.Add(sum.SummonerId, sum);
     }
 }
コード例 #7
0
 public ParticipantStore()
 {
     context = new DataGathererContext();
 }