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; }
protected AbstractExecutionArgs() { FlowBehavior = FlowBehavior.RethrowException; }
public AbstractExecutionArgs() { FlowBehavior = FlowBehavior.RethrowException; }