protected override void Given()
 {
     IoC.Container = new Container();
     errorHandler = new RequestProcessingErrorHandler(new ServiceLayerConfiguration(IoC.Container));
     request = new RequestA();
     Context = new RequestProcessingContext(request);
     cacheManager = Stubbed<ICacheManager>();
     Container.RegisterInstance(cacheManager);
     EstablishContext();
 }
 public PerformanceLoggingRequestProcessor(ServiceLayerConfiguration serviceLayerConfiguration, IRequestProcessingErrorHandler errorHandler)
     : base(serviceLayerConfiguration, errorHandler)
 {
 }
 public PerformanceLoggingRequestProcessor(ServiceLayerConfiguration serviceLayerConfiguration, IRequestProcessingErrorHandler errorHandler) : base(serviceLayerConfiguration, errorHandler)
 {
 }
Esempio n. 4
0
 public RequestProcessor(ServiceLayerConfiguration serviceLayerConfiguration, IRequestProcessingErrorHandler errorHandler)
 {
     this.serviceLayerConfiguration = serviceLayerConfiguration;
     this.errorHandler = errorHandler;
 }
Esempio n. 5
0
 public RequestProcessor(ServiceLayerConfiguration serviceLayerConfiguration, IRequestProcessingErrorHandler errorHandler)
 {
     this.serviceLayerConfiguration = serviceLayerConfiguration;
     this.errorHandler = errorHandler;
 }