public Statistics() { CodeStatistics = new CodeStatistics[701]; for (int i = 0; i < 701; i++) { CodeStatistics[i] = new CodeStatistics(); } }
public Statistics() { CodeStatistics = new CodeStatistics[701]; for (int i = 0; i < 701; i++) { CodeStatistics[i] = new CodeStatistics(i); } All = new Bumblebee.CodeStatistics(0, "All"); Server = "NULL"; Url = "NULL"; }
private CodeStatistics GetSubstats(int code) { if (!mSubStats.TryGetValue(code, out CodeStatistics result)) { result = new CodeStatistics(code); if (mSubStats.TryAdd(code, result)) { mCache = mSubStats.Values.ToArray(); } else { mSubStats.TryGetValue(code, out result); } } return(result); }