public BrokenOpenState(CircuitBreaker circuitBreaker)
     : base(circuitBreaker)
 {
     openDateTime = DateTime.UtcNow;
     circuitBreaker.BeforeInvoke += OnBeforeInvoke;
 }
Example #2
0
 protected CircuitBreakerState(CircuitBreaker circuitBreaker)
 {
     this.circuitBreaker = circuitBreaker;
 }