public IList<string> Export() { var counts = new List<string>(); if (counters != null) { foreach (var item in counters) { counts.Add(item.Key + ": " + item.Value.ToString()); } } return counts; }
protected void ExportCounters() { foreach (var counter in Counters.Export()) { NewCompilerTraceEvent(CompilerEvent.Counter, counter); } }