public SharesRepositoryTests(string connectionString) { ConnectionString = connectionString; _usersRepository = new UsersRepository(ConnectionString); _filesRepository = new FilesRepository(ConnectionString); _sharesRepository = new SharesRepository(ConnectionString); }
public TransactionsService(ITransactionsRepository transactionsRepository, ITradersRepository tradersRepository, ISharesRepository sharesRepository, IPortfoliosRepository portfoliosRepository) { this.transactionsRepository = transactionsRepository; this.tradersRepository = tradersRepository; this.sharesRepository = sharesRepository; this.portfoliosRepository = portfoliosRepository; }
public QueryableStocksHub( ISharesRepository sharesRepository, ISharesChangeFeed sharesChangeFeed, IQxService qxService) : base(qxService) { _sharesRepository = sharesRepository; _sharesChangeFeed = sharesChangeFeed; }
public StocksHub( ISharesRepository sharesRepository, ISharesChangeFeed sharesChangeFeed) { _sharesRepository = sharesRepository; _sharesChangeFeed = sharesChangeFeed; }
public BlockOfSharesManager( IBlockOfSharesRepository blockOfSharesRepository, IClientRepository clientRepository, ISharesRepository shareRepository) { this.blockOfSharesRepository = blockOfSharesRepository; this.clientRepository = clientRepository; this.shareRepository = shareRepository; }
public TransactionManager( IClientManager clientManager, IBlockOfSharesRepository blockOfSharesRepository, IClientRepository clientRepository, ISharesRepository sharesRepository, ITransactionRepository transactionRepository) { this.clientManager = clientManager; this.blockOfSharesRepository = blockOfSharesRepository; this.clientRepository = clientRepository; this.sharesRepository = sharesRepository; this.transactionRepository = transactionRepository; }
public SharesController() { _filesRepository = new FilesRepository(ConnectionString, _usersRepository); _sharesRepository = new SharesRepository(ConnectionString, _filesRepository); }
public ShareManager(ISharesRepository sharesRepository) { this.sharesRepository = sharesRepository; }
public SharesService(ISharesRepository shareRepository) { this.shareRepository = shareRepository; }
public ValidationService(IClientRepository clientRepository, ISharesRepository sharesRepository, IPortfolioRepository portfolioRepository) { this.clientRepository = clientRepository; this.sharesRepository = sharesRepository; this.portfolioRepository = portfolioRepository; }
public UnitOfWork(SharesContext context, ISharesRepository sharesRepository) { SharesRepository = sharesRepository; _context = context; }
public SharesRepositoryTests() { _filesRepository = new FilesRepository(ConnectionString, _usersRepository); _sharesRepository = new SharesRepository(ConnectionString, _usersRepository, _filesRepository); }
public UnitOfWork(PSCContext context, IPortfolioRepository portfolioRepository, ISharesRepository sharesRepository) { PortfolioRepository = portfolioRepository; SharesRepository = sharesRepository; _context = context; }
/// <summary> /// Constructor /// </summary> /// <param name="connectionString"></param> public UsersController(string connectionString) { _sharesRepository = new SharesRepository(connectionString); _usersRepository = new UsersRepository(connectionString); _filesRepository = new FilesRepository(connectionString); }