Esempio n. 1
0
        public override string ToString()
        {
            var renderer = new TextRendererApiView();
            var lines    = renderer.Render(this);

            return(lines.ToString());
        }
Esempio n. 2
0
        public override string ToString()
        {
            var renderer = new TextRendererApiView();
            var list     = new StringListApiView();

            renderer.Render(this, list);
            return(list.ToString());
        }
Esempio n. 3
0
        public override string ToString()
        {
            var returnString = new StringBuilder();
            var renderer     = new TextRendererApiView();

            renderer.Render(this, returnString);
            return(returnString.ToString());
        }
Esempio n. 4
0
 static void Main(string[] args)
 {
     try
     {
         var renderer = new TextRendererApiView();
         Console.WriteLine(renderer.Render(AssemblyApiView.AssemblyFromFile(args[0])));
     }
     catch (Exception e)
     {
         Console.WriteLine(e.Message);
         Console.WriteLine(e.StackTrace);
     }
 }