//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; }
public BuyAndHoldManager(IBuyAndHoldDal buyAndHoldDal, IBuyAndHoldRawTransactionMapper buyAndHoldRawTransactionMapper, IBuyAndHoldTransactionDomainMap buyAndHoldTransactionDomainMap, ISecurityManager securityManager) { _buyAndHoldDal = buyAndHoldDal; _buyAndHoldRawTransactionMapper = buyAndHoldRawTransactionMapper; _buyAndHoldTransactionDomainMap = buyAndHoldTransactionDomainMap; _securityManager = securityManager; }
private void ResolveDals(WindsorContainer container) { _buyAndHoldDal = container.Resolve<IBuyAndHoldDal>(); // _securityDal = container.Resolve<ISecurityDal>(); //_historicalTickerSymbolDal = container.Resolve<IHistoricalTickerSymbolDal>(); //_historicalCompanyNameDal = container.Resolve<IHistoricalCompanyNameDal>(); }