예제 #1
0
 //public BuyAndHoldManager(IBuyAndHoldDal buyAndHoldDal)
 //{
 ////    _buyAndHoldDal = buyAndHoldDal;
 //    _buyAndHoldRawTransactionMapper = buyAndHoldRawTransactionMapper;
 //}
 //public BuyAndHoldManager(ISecurityManager securityManager)
 //{
 //    _securityManager = securityManager;
 //}
 public BuyAndHoldManager(IBuyAndHoldDal buyAndHoldDal, 
     IBuyAndHoldRawTransactionMapper buyAndHoldRawTransactionMapper, 
     IBuyAndHoldTransactionDomainMap buyAndHoldTransactionDomainMap)
 {
     _buyAndHoldDal = buyAndHoldDal;
     _buyAndHoldRawTransactionMapper = buyAndHoldRawTransactionMapper;
     _buyAndHoldTransactionDomainMap = buyAndHoldTransactionDomainMap;
 }
예제 #2
0
     public BuyAndHoldManager(IBuyAndHoldDal buyAndHoldDal,
 IBuyAndHoldRawTransactionMapper buyAndHoldRawTransactionMapper,
 IBuyAndHoldTransactionDomainMap buyAndHoldTransactionDomainMap,
 ISecurityManager securityManager)
     {
         _buyAndHoldDal = buyAndHoldDal;
         _buyAndHoldRawTransactionMapper = buyAndHoldRawTransactionMapper;
         _buyAndHoldTransactionDomainMap = buyAndHoldTransactionDomainMap;
                     _securityManager = securityManager;
     }
예제 #3
0
 private void ResolveDals(WindsorContainer container)
 {
     _buyAndHoldDal = container.Resolve<IBuyAndHoldDal>();
        // _securityDal = container.Resolve<ISecurityDal>();
     //_historicalTickerSymbolDal = container.Resolve<IHistoricalTickerSymbolDal>();
     //_historicalCompanyNameDal = container.Resolve<IHistoricalCompanyNameDal>();
 }