Exemplo n.º 1
0
        void Push(string msg, EConsoleInfoType type)
        {
            while (infoStack.Count >= maxcount)
            {
                Pop();
            }
            ConsoleInfo info = new ConsoleInfo(msg, type);

            infoStack.Push(info);
        }
Exemplo n.º 2
0
 public ConsoleInfo(string msg, EConsoleInfoType type)
 {
     m_type    = type;
     m_message = msg;
     m_time    = DateTime.Now;
 }