public void PrettyPrint() { string Tabs = string.Concat(Enumerable.Repeat("| ", RecursionLevel)); Console.WriteLine("{0:s}├ {1:s} ({2:s}) : {3:s} ", Tabs, ModuleName, SearchStrategy.ToString(), Filepath); foreach (var Dep in ResolvedImports) { bool NeverSeenModule = Dep.IsNewModule(); Dep.RecursionLevel = RecursionLevel + 1; if (NeverSeenModule) { Dep.PrettyPrint(); } else { Dep.BasicPrettyPrint(); } } }