Пример #1
0
 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;
 }
Пример #2
0
 public BankingController(IBankingService bankingService, IHttpResponseResult httpResponseResult)
 {
     _bankingService = bankingService;
 }