public void Test() { //TReg.Init(); Console.WriteLine("模板处理……"); SpeedUtil.Start(); loopThird(); SpeedUtil.Stop(); }
public static void InitMetaData() { SpeedUtil.Start(); MappingClass.Clear(); int count = MappingClass.Instance.ClassList.Count; resetConnection(); Console.WriteLine("初始化成功!"); Console.WriteLine(); SpeedUtil.Stop(); }
public void single() { ConsoleTitleUtil.ShowTestTitle("single"); string a = @" <h4> {#Title#}</h4> <b>{#CreateTime#}</b><br /> " ; SpeedUtil.Start(); Template t = new Template(); t.InitContent(a); t.Set("Title", "一百航的诗篇"); t.Set("CreateTime", "今年的时间 " + DateTime.Now); Console.WriteLine(t); SpeedUtil.Stop(); }