Пример #1
0
 private void InsteadOfBodyInterceptor(InterceptionContext obj)
 {
     obj.SetResult((string)obj.ExecuteBody() + "Result");
 }
Пример #2
0
 protected void InsteadInterceptor(InterceptionContext context)
 {
     context.SetResult(context.ExecuteBody());
     OnInterceptorCalled(InterceptionMode.InsteadOfBody, context);
 }