Esempio n. 1
0
 public LocalCommandBusTests()
 {
     serviceLocator     = Substitute.For <IServiceLocator>();
     commandBusPipeline = Substitute.For <ICommandBusPipeline>();
     sut = new LocalCommandBus(serviceLocator, commandBusPipeline);
 }
Esempio n. 2
0
 public LocalCommandBus(IServiceLocator serviceLocator, ICommandBusPipeline pipeline)
 {
     this.serviceLocator = serviceLocator;
     this.pipeline       = pipeline;
 }