예제 #1
0
 public IServiceConfigurator Method <T>(Expression <Action <T> > methodExpr, Func <InterceptionContext, object> action)
 {
     return(configuration.InterceptMethod(new MethodInteception(action, MethodInteceptionType.Process,
                                                                methodExpr.MethodFromExpression())));
 }