Example #1
0
 public Interactor(
     IOrderReadOnlyRepository orderReadOnlyRepository,
     IOrderWriteOnlyRepository orderWriteOnlyRepository)
 {
     this.orderReadOnlyRepository  = orderReadOnlyRepository;
     this.orderWriteOnlyRepository = orderWriteOnlyRepository;
 }
Example #2
0
 public Interactor(
     IOrderReadOnlyRepository orderReadOnlyRepository,
     IOutputBoundary <TrackingOutput> outputBoundary,
     IOutputConverter outputConverter)
 {
     this.orderReadOnlyRepository = orderReadOnlyRepository;
     this.outputBoundary          = outputBoundary;
     this.outputConverter         = outputConverter;
 }
Example #3
0
 public GetCustomerDetailsInteractor(
     ICustomerReadOnlyRepository customerReadOnlyRepository,
     IOrderReadOnlyRepository orderReadOnlyRepository,
     IBasketReadOnlyRepository basketReadOnlyRepository,
     IOutputBoundary <CustomerOutput> outputBoundary,
     IOutputConverter outputConverter)
 {
     this.customerReadOnlyRepository = customerReadOnlyRepository;
     this.orderReadOnlyRepository    = orderReadOnlyRepository;
     this.basketReadOnlyRepository   = basketReadOnlyRepository;
     this.outputBoundary             = outputBoundary;
     this.outputConverter            = outputConverter;
 }
Example #4
0
 public RegisterErrorOrderDelivered(IErrorOrderWriteOnlyRepository errorComputerRepository, IOrderReadOnlyRepository orderRepository, IComputerReadOnlyRepository computerRepository)
 {
     this.errorComputerRepository = errorComputerRepository;
     this.orderRepository         = orderRepository;
     this.computerRepository      = computerRepository;
 }
Example #5
0
 public BuilderOrder(IBuildOrderRepository buildRepository, IOrderReadOnlyRepository orderRepository)
 {
     this.buildRepository = buildRepository;
     this.orderRepository = orderRepository;
 }
Example #6
0
 public OrderController(Startup.DeleteByIdResolver deleteAccesor, IOrderReadOnlyRepository readOrder)
 {
     delete = new DeleteOrder(deleteAccesor(DeletesID.Order), readOrder);
     read   = new ReadOrder(readOrder);
 }
Example #7
0
 public CreateReport(IOrderReadOnlyRepository orderRepository)
 {
     this.orderRepository = orderRepository;
 }
Example #8
0
 public DeleteOrder(IDeleteById delete, IOrderReadOnlyRepository read)
 {
     this.delete = delete;
     this.read   = read;
 }
Example #9
0
 public OrderService(IOrderRepository repository, IOrderReadOnlyRepository readOnlyRepository)
     : base(repository, readOnlyRepository)
 {
 }
Example #10
0
 public ReadOrder(IOrderReadOnlyRepository read)
 {
     this.read = read;
 }
Example #11
0
 public DeliverOrder(IOrderReadOnlyRepository orderRepository, IDeliverOrderRepository deliverRepository)
 {
     this.orderRepository   = orderRepository;
     this.deliverRepository = deliverRepository;
 }