public RegisterService( ICustomerWriteOnlyRepository customerWriteOnlyRepository, IResultConverter resultConverter) { this.customerWriteOnlyRepository = customerWriteOnlyRepository; this.resultConverter = resultConverter; }
public RegisterUseCase( ICustomerWriteOnlyRepository customerWriteOnlyRepository, IAccountWriteOnlyRepository accountWriteOnlyRepository) { _customerWriteOnlyRepository = customerWriteOnlyRepository; _accountWriteOnlyRepository = accountWriteOnlyRepository; }
public DeleteCustomerService( ICustomerReadOnlyRepository customerReadOnlyRepository, ICustomerWriteOnlyRepository customerWriteOnlyRepository) { this.customerReadOnlyRepository = customerReadOnlyRepository; this.customerWriteOnlyRepository = customerWriteOnlyRepository; }
public RegisterCommandHandler( ICustomerWriteOnlyRepository customerWriteOnlyRepository, IAccountWriteOnlyRepository accountWriteOnlyRepository) { this.customerWriteOnlyRepository = customerWriteOnlyRepository; this.accountWriteOnlyRepository = accountWriteOnlyRepository; }
public AccountTests() { accountReadOnlyRepository = Substitute.For <IAccountReadOnlyRepository>(); accountWriteOnlyRepository = Substitute.For <IAccountWriteOnlyRepository>(); customerReadOnlyRepository = Substitute.For <ICustomerReadOnlyRepository>(); customerWriteOnlyRepository = Substitute.For <ICustomerWriteOnlyRepository>(); }
public RegisterService( ICustomerWriteOnlyRepository customerWriteOnlyRepository, IAccountWriteOnlyRepository accountWriteOnlyRepository) { this.customerWriteOnlyRepository = customerWriteOnlyRepository; this.accountWriteOnlyRepository = accountWriteOnlyRepository; }
public CustomerTests() { accountReadOnlyRepository = Substitute.For <IAccountReadOnlyRepository>(); accountWriteOnlyRepository = Substitute.For <IAccountWriteOnlyRepository>(); customerReadOnlyRepository = Substitute.For <ICustomerReadOnlyRepository>(); customerWriteOnlyRepository = Substitute.For <ICustomerWriteOnlyRepository>(); converter = new OutputConverter(); }
public RegisterInteractor( ICustomerWriteOnlyRepository customerWriteOnlyRepository, IOutputBoundary <RegisterResponse> outputBoundary, IResponseConverter responseConverter) { this.customerWriteOnlyRepository = customerWriteOnlyRepository; this.outputBoundary = outputBoundary; this.responseConverter = responseConverter; }
public CloseService( ICustomerReadOnlyRepository customerReadOnlyRepository, ICustomerWriteOnlyRepository customerWriteOnlyRepository, IResultConverter resultConverter) { this.customerReadOnlyRepository = customerReadOnlyRepository; this.customerWriteOnlyRepository = customerWriteOnlyRepository; this.resultConverter = resultConverter; }
public WithdrawInteractor( ICustomerReadOnlyRepository customerReadOnlyRepository, ICustomerWriteOnlyRepository customerWriteOnlyRepository, IOutputBoundary <WithdrawResponse> outputBoundary, IResponseConverter responseConverter) { this.customerReadOnlyRepository = customerReadOnlyRepository; this.customerWriteOnlyRepository = customerWriteOnlyRepository; this.outputBoundary = outputBoundary; this.responseConverter = responseConverter; }
public RegisterInteractor( ICustomerWriteOnlyRepository customerWriteOnlyRepository, IBasketWriteOnlyRepository basketWriteOnlyRepository, IOutputBoundary <RegisterOutput> outputBoundary, IOutputConverter outputConverter) { this.customerWriteOnlyRepository = customerWriteOnlyRepository; this.basketWriteOnlyRepository = basketWriteOnlyRepository; this.outputBoundary = outputBoundary; this.outputConverter = outputConverter; }
public RegisterInteractor( ICustomerWriteOnlyRepository customerWriteOnlyRepository, IAccountWriteOnlyRepository accountWriteOnlyRepository, IOutputBoundary <RegisterOutput> outputBoundary, IOutputConverter outputConverter) { this.customerWriteOnlyRepository = customerWriteOnlyRepository; this.accountWriteOnlyRepository = accountWriteOnlyRepository; this.outputBoundary = outputBoundary; this.outputConverter = outputConverter; }
public RegisteredEventHandler( ICustomerWriteOnlyRepository customerWriteOnlyRepository, IAccountWriteOnlyRepository accountWriteOnlyRepository) { if (customerWriteOnlyRepository == null) { throw new ArgumentNullException(nameof(customerWriteOnlyRepository)); } if (accountWriteOnlyRepository == null) { throw new ArgumentNullException(nameof(accountWriteOnlyRepository)); } this.customerWriteOnlyRepository = customerWriteOnlyRepository; this.accountWriteOnlyRepository = accountWriteOnlyRepository; }
public CustomerDeleteUseCase(IOutputPort output, ICustomerWriteOnlyRepository customerWriteOnlyRepository) { this.output = output; this.customerWriteOnlyRepository = customerWriteOnlyRepository; }
public RegisteredEventHandler( ICustomerWriteOnlyRepository customerWriteOnlyRepository) { this.customerWriteOnlyRepository = customerWriteOnlyRepository; }
public AccountTests() { customerReadOnlyRepository = Substitute.For <ICustomerReadOnlyRepository>(); customerWriteOnlyRepository = Substitute.For <ICustomerWriteOnlyRepository>(); converter = new ResponseConverter(); }
public CustomerCreateUseCase(ICustomerWriteOnlyRepository customerWriteOnlyRepository) { this.customerWriteOnlyRepository = customerWriteOnlyRepository; }
public CustomerDeleteUseCaseTests(ICustomerDeleteUseCase customerDeleteUseCase, CustomerPresenter presenter, ICustomerWriteOnlyRepository customerWriteOnlyRepository) { this.customerDeleteUseCase = customerDeleteUseCase; this.presenter = presenter; this.customerWriteOnlyRepository = customerWriteOnlyRepository; }
public CustomerControllerTests(ICustomerGetAllUseCase customerGetAllUseCase, CustomerPresenter presenter, ICustomerWriteOnlyRepository customerWriteOnlyRepository) { this.customerGetAllUseCase = customerGetAllUseCase; this.presenter = presenter; this.customerWriteOnlyRepository = customerWriteOnlyRepository; }
public CustomerTests() { customerReadOnlyRepository = Substitute.For <ICustomerReadOnlyRepository>(); customerWriteOnlyRepository = Substitute.For <ICustomerWriteOnlyRepository>(); converter = new ResultConverter(); }
public CustomerRepositoryTest(ICustomerReadOnlyRepository customerReadOnlyRepository, ICustomerWriteOnlyRepository customerWriteOnlyRepository) { this.customerReadOnlyRepository = customerReadOnlyRepository; this.customerWriteOnlyRepository = customerWriteOnlyRepository; }
public SaveHandler(ICustomerWriteOnlyRepository customerWriteOnlyRepository) { this.customerWriteOnlyRepository = customerWriteOnlyRepository; }