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