Esempio n. 1
0
 protected HttpRequestClientBase(string logName,
                                 ICircuitBreakingHandler <string> handler)
     : this(logName)
 {
     _handler = handler;
     _handler.Handle <HttpRequestException>()
     .Handle <TimeoutException>()
     .Handle <TimeoutRejectedException>()
     .Build();
 }
Esempio n. 2
0
 protected ServiceBase(string logName,
                       ICircuitBreakingHandler <string> handler)
     : base(logName, handler)
 {
 }