示例#1
0
 public TradingStart(
     IUserTableRepository userTableRepository,
     ISharesTableRepository sharesTableRepository,
     IAddingSharesToThUserServiceTableRepository addingSharesToThUserServiceTableRepository,
     ITransactionRepositories transactionRepositories,
     TradingSimulatorDbContext tradingSimulatorDbContext,
     UserService userService,
     SharesService sharesService,
     AddingSharesToThUserService addingSharesToThUserService,
     TransactionService transactionService,
     TradingSimulation tradingSimulation)
 {
     this.userTableRepository   = userTableRepository;
     this.sharesTableRepository = sharesTableRepository;
     this.addingSharesToThUserServiceTableRepository = addingSharesToThUserServiceTableRepository;
     this.transactionRepositories   = transactionRepositories;
     this.tradingSimulatorDbContext = tradingSimulatorDbContext;
     this.userService   = userService;
     this.sharesService = sharesService;
     this.addingSharesToThUserService = addingSharesToThUserService;
     this.transactionService          = transactionService;
     this.tradingSimulation           = tradingSimulation;
 }
示例#2
0
 public AddingSharesToThUserService(IAddingSharesToThUserServiceTableRepository addingSharesToThUserServiceTableRepository, IUserTableRepository userTableRepository, ISharesTableRepository sharesTableRepository)
 {
     this.addingSharesToThUserServiceTableRepository = addingSharesToThUserServiceTableRepository;
     this.userTableRepository   = userTableRepository;
     this.sharesTableRepository = sharesTableRepository;
 }