/// <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); }
protected virtual void SaveConsoleModel(ConsoleModel model) { }