private void ProcessOneItem(AnalysisItemsQueryData item) { this.totalCount++; this.totalSize += (ulong)((long)item.Size); AnalysisGroupData analysisGroupData; if (!this.itemGroups.TryGetValue(item.Key.ToString(), out analysisGroupData)) { analysisGroupData = new AnalysisGroupData(this, item.Key); this.itemGroups[item.Key.ToString()] = analysisGroupData; } analysisGroupData.AddOneItem(item); }
internal void AddOneItem(AnalysisItemsQueryData item) { this.groupCount++; this.groupSize += (ulong)((long)item.Size); if (item.ClientInfo != null && !item.ClientInfo.Equals(string.Empty)) { int clientInfoId = this.parent.GetClientInfoId(item.ClientInfo); if (!this.clientInfoStats.ContainsKey(clientInfoId)) { this.clientInfoStats[clientInfoId] = 1; } else { this.clientInfoStats[clientInfoId] = this.clientInfoStats[clientInfoId] + 1; } } if (this.newestItemLMT < item.LastModifiedTime) { this.newestItemLMT = item.LastModifiedTime; this.newestItemId = item.Id; } }