Exemplo n.º 1
0
        public static void PrintAssembly(Assembly ass)
        {
            Exconsole.WriteLineColorEscaped($"Assembly name: @v@r{ass.FullName}@^");
            Exconsole.WriteLineColorEscaped($"Location: @v@g{ass.Location}@^");
            Exconsole.WriteLineColorEscaped($"Code Base: @v@e{ass.CodeBase}@^");

            foreach (var type in ass.GetTypes())
            {
                PrintType(type);
            }
        }
 public void Append(int level, string category, DateTime time, string content)
 {
     Exconsole.WriteLineColorEscaped(_layout.Format(level, category, time, content));
 }