コード例 #1
0
 internal Gw2StatsObjectives(_ObjectivesByMatch obm)
 {
     RetriveTime = obm.RetriveTime;
     Type        = obm.Type;
     Matches     = new Dictionary <string, Gw2StatsMatch>
     {
         {
             obm.MatchId,
             new Gw2StatsMatch
             {
                 Maps    = obm._maps.ToDictionary(m => m.MapId),
                 MatchId = obm.MatchId,
             }
         }
     };
 }
コード例 #2
0
 internal Gw2StatsObjectives(_ObjectivesByMatch obm)
 {
     RetriveTime = obm.RetriveTime;
     Type = obm.Type;
     Matches = new Dictionary<string, Gw2StatsMatch>
         {
             {
                 obm.MatchId,
                 new Gw2StatsMatch
                     {
                         Maps = obm._maps.ToDictionary(m => m.MapId),
                         MatchId = obm.MatchId,
                     }
             }
         };
 }