Пример #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);
        }