Example #1
0
 public void Intercept(IInvocation invocation)
 {
     if (invocation.Method.IsAsync())
     {
         invocation.AsyncInterceptorInvoke();
     }
     else
     {
         invocation.SyncInterceptorInvoke();
     }
 }