示例#1
0
 public void PostProcess(InterceptedMethod method, object returnVal)
 {
 }
示例#2
0
 public void PreProcess(InterceptedMethod method)
 {
 }
示例#3
0
 public void BeginAround(InterceptedMethod method)
 {
 }
示例#4
0
 public void OnException(InterceptedMethod method, Exception ee)
 {
 }
示例#5
0
 public void OnException(InterceptedMethod method, Exception ee)
 {
     this.stopwatch.Stop();
     this.stopwatch.Reset();
     this.objectPool.GiveBack(this);
 }
示例#6
0
 public void BeginAround(InterceptedMethod method)
 {
     this.interceptedMethod = method;
     this.stopwatch.Reset();
     this.stopwatch.Start();
 }
示例#7
0
        public void OnException(InterceptedMethod method, Exception ee)
        {
            string methodPath = string.Format("{0}.{1}", method.Target.GetType().ToString(), method.MethodName);

            this.exceptionFilter.Log(ee, methodPath, method.GenericTypes, method.ArgumentNames, method.ArgumentValues);
        }