Beispiel #1
0
        /// <summary>
        /// 对外显示
        /// </summary>
        protected virtual ConsoleModel WriteLine(string type, int count, int time, string message)
        {
            ConsoleModel model = new ConsoleModel(type, count, time, message);

            this.SaveConsoleModel(model);
            Console.WriteLine(model.ToString());
            return(model);
        }
Beispiel #2
0
 protected virtual void SaveConsoleModel(ConsoleModel model)
 {
 }