public void BeginAround(InterceptedMethod method)
        {
            this.interceptedMethod = method;

            this.stopwatch.Reset();
            this.stopwatch.Start();
        }
 public void OnException(InterceptedMethod method, Exception ee)
 {
 }
 public void BeginAround(InterceptedMethod method)
 {
 }
 public void PostProcess(InterceptedMethod method, object returnVal)
 {
 }
 public void PreProcess(InterceptedMethod method)
 {
 }
 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);
 }
 public void BeginAround(InterceptedMethod method)
 {
    
 }
 public void PostProcess(InterceptedMethod method, object returnVal)
 {
     
 }
 public void PreProcess(InterceptedMethod method)
 {
   
 }
 public void OnException(InterceptedMethod method, Exception ee)
 {
     
 }
Exemple #11
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);
        }
 public void OnException(InterceptedMethod method, Exception ee)
 {
     this.stopwatch.Stop();
     this.stopwatch.Reset();
     this.objectPool.GiveBack(this);
 }