public GetAccountDetailsInteractor(
     ICustomerReadOnlyRepository customerReadOnlyRepository,
     IOutputBoundary <AccountResponse> outputBoundary,
     IResponseConverter responseConverter)
 {
     this.customerReadOnlyRepository = customerReadOnlyRepository;
     this.outputBoundary             = outputBoundary;
     this.responseConverter          = responseConverter;
 }
Beispiel #2
0
 public RegisterInteractor(
     ICustomerWriteOnlyRepository customerWriteOnlyRepository,
     IOutputBoundary <RegisterResponse> outputBoundary,
     IResponseConverter responseConverter)
 {
     this.customerWriteOnlyRepository = customerWriteOnlyRepository;
     this.outputBoundary    = outputBoundary;
     this.responseConverter = responseConverter;
 }
Beispiel #3
0
 public WithdrawInteractor(
     ICustomerReadOnlyRepository customerReadOnlyRepository,
     ICustomerWriteOnlyRepository customerWriteOnlyRepository,
     IOutputBoundary <WithdrawResponse> outputBoundary,
     IResponseConverter responseConverter)
 {
     this.customerReadOnlyRepository  = customerReadOnlyRepository;
     this.customerWriteOnlyRepository = customerWriteOnlyRepository;
     this.outputBoundary    = outputBoundary;
     this.responseConverter = responseConverter;
 }
Beispiel #4
0
 public KafkaHttpResponseProcessed(ILogger <KafkaResponseProcessed> log, KafkaServerOption option, IResponseConverter responseConverter)
 {
     _log               = log;
     _option            = option;
     _responseConverter = responseConverter;
 }
Beispiel #5
0
 public AccountTests()
 {
     customerReadOnlyRepository  = Substitute.For <ICustomerReadOnlyRepository>();
     customerWriteOnlyRepository = Substitute.For <ICustomerWriteOnlyRepository>();
     converter = new ResponseConverter();
 }
Beispiel #6
0
 public Trigger(IBenchMarkResultService benchMarkResultService, IResponseConverter responseConverter)
 {
     _benchMarkResultService = benchMarkResultService;
     _responseConverter      = responseConverter;
 }
Beispiel #7
0
 public ApiClient(ApiContext context, RateGate rateGate, IResponseConverter converter)
 {
     _apiRequest = new ApiRequest(context, rateGate);
     _converter  = converter;
 }
Beispiel #8
0
 public ConversionTests()
 {
     converter = new ResponseConverter();
 }