Example #1
0
 public CircuitBreakerQueryDecorator(TypedMessageHandler <TQuery, TResult> decorated,
                                     CircuitBreakerRegistry circuitBreakerRegistry,
                                     CircuitBreakerAttributeLookup attributeLookup)
 {
     _decorated = decorated;
     _circuitBreakerRegistry = circuitBreakerRegistry;
     _attributeLookup        = attributeLookup;
 }
 public CircuitBreakerCommandDecorator(TypedMessageHandler <TCommand> decorated,
                                       CircuitBreakerRegistry circuitBreakerRegistry,
                                       CircuitBreakerAttributeLookup attributeLookup)
 {
     _decorated = decorated;
     _circuitBreakerRegistry = circuitBreakerRegistry;
     _attributeLookup        = attributeLookup;
 }