public void OnEntry([FlowBehavior] out FlowBehavior flowBehavior)
 {
     if (!LoggingCircuitBreaker.Closed)
     {
         flowBehavior = FlowBehavior.Return;
     }
     else
     {
         flowBehavior = FlowBehavior.Default;
     }
 }
 public void OnException([FlowBehavior] out FlowBehavior flowBehavior)
 {
     LoggingCircuitBreaker.Break();
     flowBehavior = FlowBehavior.Return;
 }
Beispiel #3
0
 protected AbstractExecutionArgs()
 {
     FlowBehavior = FlowBehavior.RethrowException;
 }
 public AbstractExecutionArgs()
 {
     FlowBehavior = FlowBehavior.RethrowException;
 }