public TransactionsService(IClientService clientService, ISharesService sharesService, IPortfoliosService portfoliosService, ITransactionsRepository transactionsRepository)
 {
     this.clientService          = clientService;
     this.sharesService          = sharesService;
     this.portfoliosService      = portfoliosService;
     this.transactionsRepository = transactionsRepository;
 }
예제 #2
0
 public ConsoleApp(IInputOutputModule inputOutputModule, IClientService clientService, ISharesService sharesService, IPortfoliosService portfoliosService)
 {
     this.inputOutputModule = inputOutputModule;
     this.clientService     = clientService;
     this.sharesService     = sharesService;
     this.portfoliosService = portfoliosService;
 }
예제 #3
0
 public TraderService(IUnitOfWork unitOfWork, IAccountService accountService, IPaymentsService paymentsService,
                      IShareControlService shareControlService, ISharesService sharesService)
 {
     _accountService      = accountService;
     _paymentsService     = paymentsService;
     _shareControlService = shareControlService;
     _sharesService       = sharesService;
     _unitOfWork          = (UnitOfWork)unitOfWork;
 }
예제 #4
0
 public TradeTable(
     IInputOutputModule outputDevice,
     IPortfoliosService portfoliosService,
     IClientService clientService,
     ISharesService sharesService)
 {
     this.outputDevice      = outputDevice;
     this.portfoliosService = portfoliosService;
     this.clientService     = clientService;
     this.sharesService     = sharesService;
 }
예제 #5
0
 public SharesController(IClientsService clientService, ISharesService sharesService)
 {
     this.clientService = clientService;
     this.sharesService = sharesService;
 }
예제 #6
0
 public PortfolioController(IPortfolioService portfolioService, ISharesService sharesService)
 {
     _portfolioService = portfolioService;
     _sharesService    = sharesService;
 }
예제 #7
0
 public void Initialize()
 {
     sharesTableRepository = Substitute.For <ISharesTableRepository>();
     sharesService         = new SharesService(sharesTableRepository);
 }
예제 #8
0
 public GetAllSharesCommand(ILogger logger, ITradeTable tradeTable, ISharesService sharesService)
 {
     this.logger        = logger;
     this.tradeTable    = tradeTable;
     this.sharesService = sharesService;
 }
예제 #9
0
 public DBInitializer(IClientService clientService, ISharesService sharesService, IPortfoliosService portfoliosService)
 {
     this.clientService     = clientService;
     this.sharesService     = sharesService;
     this.portfoliosService = portfoliosService;
 }
예제 #10
0
 public TobinTaxerService(ISharesService shareService)
 {
     _shareService = shareService;
 }