/// <summary> /// A string representation of the list of MetricTableInfo objects including indentation /// </summary> /// <param name="metricTableInfos">The list of MetricTableInfo objects</param> /// <param name="indentationTabs">The number of tabs to insert in front of each member</param> /// <returns>A string representation of the list of MetricTableInfo objects including indentation</returns> public static string ToString(this LazyList <MetricTableInfo> metricTableInfos, int indentationTabs) { StringBuilder output = new StringBuilder(); metricTableInfos.ForEach(metricTableInfo => output.Append(metricTableInfo.ToString(indentationTabs))); return(output.ToString()); }