Beispiel #1
0
        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 = Root.VisitModule(Dep.ModuleName, Dep.Filepath);

                if (NeverSeenModule)
                {
                    Dep.PrettyPrint();
                }
                else
                {
                    Dep.BasicPrettyPrint();
                }
            }
        }