Ejemplo n.º 1
0
 //Move the circuit to half open state
 internal CircuitBreakerState MoveToHalfOpenState()
 {
     state = new HalfOpenState(this);
     return(state);
 }
Ejemplo n.º 2
0
 //Move the circuit to closed state
 internal CircuitBreakerState MoveToClosedState()
 {
     state = new ClosedState(this);
     return(state);
 }