public HttpRouteHandler(IServiceDispatcherConfiguationItem serviceDispatcherConfiguationItem , IHttpResponseResult responseResolver , Func<IOperationDescriptor,SessionMode> getSessionMode ) { if (serviceDispatcherConfiguationItem == null) throw new ArgumentNullException("serviceDispatcherConfiguationItem"); if (responseResolver == null) throw new ArgumentNullException("responseResolver"); ServiceDispatcherConfiguationItem = serviceDispatcherConfiguationItem; ResponseResolver = responseResolver; GetSessionMode = getSessionMode; }
public BankingController(IBankingService bankingService, IHttpResponseResult httpResponseResult) { _bankingService = bankingService; }