private object Dump(List <object> param) { var sw = new Stopwatch(); sw.Start(); var h = dumper.dumpHierarchy(); debugProfilingData ["dump"] = sw.ElapsedMilliseconds; return(h); }
private object Dump(List <object> param) { var onlyVisibleNode = true; if (param.Count > 0) { onlyVisibleNode = (bool)param[0]; } var sw = new Stopwatch(); sw.Start(); var h = dumper.dumpHierarchy(onlyVisibleNode); debugProfilingData ["dump"] = sw.ElapsedMilliseconds; return(h); }