Exemplo n.º 1
0
 public RequestProcessorDecorator(RequestProcessorAbstract requestProcessorAbstract)
 {
     RequestProcessorAbstract = requestProcessorAbstract ?? throw new ArgumentNullException($"{nameof(RequestProcessorAbstract)} could not be null");
 }
Exemplo n.º 2
0
 public RequestProcessorWithCustomException(RequestProcessorAbstract requestProcessorAbstract) : base(requestProcessorAbstract)
 {
 }
Exemplo n.º 3
0
 public CachedRequestProcessor(RequestProcessorAbstract requestProcessorAbstract) : base(requestProcessorAbstract)
 {
     _cache = StringCache.GetInstance();
 }
Exemplo n.º 4
0
 public RequestProcessorWithRetry(RequestProcessorAbstract requestProcessorAbstract, int retryCount) : base(requestProcessorAbstract)
 {
     _retryCount = retryCount;
 }
Exemplo n.º 5
0
 public RequestProcessorLogger(RequestProcessorAbstract requestProcessorAbstract, ILogger logger) : base(requestProcessorAbstract)
 {
     _logger = logger ?? throw new ArgumentNullException($"{nameof(ILogger)} could not be null");
 }