Example #1
0
 public IRequestHandler CreateRequestHandler(
     ITargetSelector selector,
     IMethodCallInterceptor interceptor,
     IRequestErrorHandler errors = null)
 {
     return(new RequestHandler(selector, _binder, _serializer, interceptor, errors));
 }
Example #2
0
 public RequestHandler(
     ITargetSelector selector,
     IMethodBinder binder,
     IMethodCallSerializer serializer,
     IMethodCallInterceptor interceptor,
     IRequestErrorHandler errors)
 {
     _selector    = selector;
     _binder      = binder;
     _serializer  = serializer;
     _interceptor = interceptor;
     _errors      = errors;
 }
Example #3
0
 public IRequestHandler CreateRequestHandler(ITargetSelector selector, IRequestErrorHandler errors = null)
 {
     return(new RequestHandler(selector, _binder, _serializer, null, errors));
 }