Exemplo n.º 1
0
            private static void OneToOneMapping(string espnValue, Constants.StatID key, Dictionary <Constants.StatID, float> dmStats)
            {
                float statValue;

                if (float.TryParse(espnValue, out statValue))
                {
                    dmStats[key] = statValue;
                }
            }
Exemplo n.º 2
0
 public CountingStatExtractor(bool moreIsBetter, Constants.StatID statId)
 {
     this.MoreIsBetter = moreIsBetter;
     this.StatID       = statId;
 }