public void Add(Type builderType, string description, TimeSpan elapsed) { BuilderStats stats; if (!builderStats.TryGetValue(builderType, out stats)) { stats = new BuilderStats(builderType); builderStats.Add(builderType, stats); } stats.Add(description, elapsed); }