Ejemplo n.º 1
0
 public BuyAndHoldController(IBuyAndHoldService buyAndHoldService,
     ITickerService tickerService,
     INavService navService,
     ISecurityService securityService,
     IBuyAndHoldTransactionDtoMap buyAndHoldTransactionDtoMap,
     IBuyAndHoldRawTransactionMapper buyAndHoldRawTransactionMapper,
     IBuyAndHoldTransactionLibrary buyAndHoldTransactionLibrary,
     IBuyAndHoldRawTransactionLibrary buyAndHoldRawTransactionLibrary)
 {
     _buyAndHoldService = buyAndHoldService;
     _tickerService = tickerService;
     _navService = navService;
     _securityService = securityService;
     _buyAndHoldTransactionDtoMap = buyAndHoldTransactionDtoMap;
     _buyAndHoldRawTransactionMapper = buyAndHoldRawTransactionMapper;
     _buyAndHoldTransactionLibrary = buyAndHoldTransactionLibrary;
     _buyAndHoldRawTransactionLibrary = buyAndHoldRawTransactionLibrary;
 }
Ejemplo n.º 2
0
 public BhMergerDtoMap(IBuyAndHoldTransactionDtoMap buyAndHoldTransactionDtoMap)
 {
     _buyAndHoldTransactionDtoMap = buyAndHoldTransactionDtoMap;
 }
Ejemplo n.º 3
0
 public BhSpinOffDtoMap(IBuyAndHoldTransactionDtoMap buyAndHoldTransactionDtoMap)
 {
     _buyAndHoldTransactionDtoMap = buyAndHoldTransactionDtoMap;
 }
Ejemplo n.º 4
0
 private void ResolveMappers(WindsorContainer container)
 {
     _buyAndHoldTransactionDtoMap = container.Resolve<IBuyAndHoldTransactionDtoMap>();
     _buyAndHoldRawTransactionMapper = container.Resolve<IBuyAndHoldRawTransactionMapper>();
     //_securityMapper = container.Resolve<ISecurityMapper>();
     //_historicalTickerSymbolMapper = container.Resolve<IHistoricalTickerSymbolMapper>();
     //_historicalCompanyNameMapper = container.Resolve<IHistoricalCompanyNameMapper>();
 }