Ejemplo n.º 1
0
 public Multiplexer(IResponseAggregator aggregator)
 {
     _aggregator = aggregator;
 }
Ejemplo n.º 2
0
 public ResponseAggregatorFactoryTests()
 {
     _provider   = new Mock <IDefinedAggregatorProvider>();
     _aggregator = new SimpleJsonResponseAggregator();
     _factory    = new InMemoryResponseAggregatorFactory(_provider.Object, _aggregator);
 }
Ejemplo n.º 3
0
 private void WhenIGet()
 {
     _aggregator = _factory.Get(_reRoute);
 }
 public InMemoryResponseAggregatorFactory(IDefinedAggregatorProvider provider, IResponseAggregator responseAggregator)
 {
     _userDefined = new UserDefinedResponseAggregator(provider);
     _simple      = responseAggregator;
 }