Пример #1
0
 public InstrumentController(IProductRepository products,
                             IInstrumentTypeRepository instrumentTypes,
                             IClassificationRepository classifications,
                             ISubClassificationRepository subClassifications,
                             IProductStatusRepository productStatus,
                             IPhotoRepository photos)
 {
     _products           = products;
     _instrumentTypes    = instrumentTypes;
     _classifications    = classifications;
     _subClassifications = subClassifications;
     _productStatus      = productStatus;
     _photos             = photos;
 }
Пример #2
0
 public OrderingController(IOrderingRepository orderings, 
     IOrderingHeaderContentRepository headerContent, 
     IInstrumentTypeRepository instrumentTypes,
     IClassificationRepository classifications,
     ISubClassificationRepository subClassifications,
     IPhotoRepository photos)
 {
     _orderings = orderings;
     _headerContent = headerContent;
     _photos = photos;
     _instrumentTypes = instrumentTypes;
     _classifications = classifications;
     _subClassifications = subClassifications;
 }
Пример #3
0
        public UnitOfWork(ITimeIntervalRepository timeIntervals, IBrokerTimeIntervalRepository brokerTimeIntervals, IBrokerRepository brokers, IInstrumentNameRepository instrumentNames, IBrokerInstrumentRepository brokerInstruments, IPriceEntryRepository priceEntries, IScreenerEntryMappingRepository screenerEntryMappings, IScreenerEntryTypeRepository screenerEntryTypes, IBrokerInstrumentScreenerTypeRepository brokerInstrumentScreenerTypes, IScreenerTypeRepository screenerTypes, IBrokerSymbolRepository brokerSymbols, ICurrencyRepository currencies, IExchangeRepository exchanges, IInstrumentTypeRepository instrumentTypes, IScreenerRepository screeners, IScreenerLineRepository screenerLines, IScreenerReferenceImageRepository screenerReferenceImages, IScreenerEntryRepository screenerEntries, IIndicatorEntryRepository indicatorEntries, ITradeRepository trades, ITradeStepRepository tradeSteps, IOrderRepository orders, ISignalRepository signals, ISignalStepRepository signalSteps, IStopLossRuleRepository stopLossRules, IExitRuleRepository exitRules)
        {
            this.TimeIntervals = timeIntervals;
            this.BrokerTimeIntervals = brokerTimeIntervals;
            this.Brokers = brokers;
            this.InstrumentNames = instrumentNames;
            this.BrokerInstruments = brokerInstruments;
            this.PriceEntries = priceEntries;
            this.ScreenerEntryMappings = screenerEntryMappings;
            this.ScreenerEntryTypes = screenerEntryTypes;
            this.BrokerInstrumentScreenerTypes = brokerInstrumentScreenerTypes;
            this.ScreenerTypes = screenerTypes;
            this.BrokerSymbols = brokerSymbols;
            this.Currencies = currencies;
            this.Exchanges = exchanges;
            this.InstrumentTypes = instrumentTypes;
            this.Screeners = screeners;
            this.ScreenerLines = screenerLines;
            this.ScreenerReferenceImages = screenerReferenceImages;
            this.ScreenerEntries = screenerEntries;
            this.IndicatorEntries = indicatorEntries;
            this.Trades = trades;
            this.TradeSteps = tradeSteps;
            this.Orders = orders;
            this.Signals = signals;
            this.SignalSteps = signalSteps;
            this.StopLossRules = stopLossRules;
            this.ExitRules = exitRules;

        }