コード例 #1
0
ファイル: TimerArroundAttribute.cs プロジェクト: hnjm/SMS-2
 public override void EndAction(FWCommon.AOP.InvokeContext context)
 {
     if (!AppCons.LogSqlExcu)
     {
         return;
     }
     FWCommon.Logging.Logger.CurrentLog.Info(string.Format("耗时: {0} ms\r\n******", _watch.ElapsedMilliseconds));
 }
コード例 #2
0
ファイル: TimerArroundAttribute.cs プロジェクト: hnjm/SMS-2
 public override void BeginAction(FWCommon.AOP.InvokeContext context)
 {
     _watch.Reset();
     _watch.Start();
 }