コード例 #1
0
ファイル: SharesController.cs プロジェクト: Bencargs/Trading
 public SharesController(
     Market market,
     Account accounts,
     ISharesProvider sharesProvider,
     IOrderProvider ordersProvider)
 {
     _market         = market;
     _accounts       = accounts;
     _sharesProvider = sharesProvider;
     _ordersProvider = ordersProvider;
 }
コード例 #2
0
 public Market(
     IOrderProvider ordersProvider,
     IHoldingsProvider holdingsProvider,
     IBankingProvider bankingProvider,
     ISharesProvider sharesProvider)
 {
     _ordersProvider   = ordersProvider;
     _holdingsProvider = holdingsProvider;
     _bankingProvider  = bankingProvider;
     _sharesProvider   = sharesProvider;
 }