public RabbitMqService( IOptions <MessageBrokerSettings> messageBrokerSettings, IStockMarketService stockMarketService) { this._messageBrokerManager = new RabbitMqMessageBrokerManager <StockQuoteCommand>(messageBrokerSettings); _stockMarketService = stockMarketService; Init(); }
public StockMarketServiceFixture(ITestOutputHelper testOutput) { _testOutput = testOutput; var settings = ConfigurationSingletonFactory.GetStockMarketSettings(); _stockMarketServiceCsv = new StockMarketService(new System.Net.Http.HttpClient(), settings); settings.Value.Format = "json"; _stockMarketServiceJson = new StockMarketService(new System.Net.Http.HttpClient(), settings); }
public SqlBaseModel() { _stockMarketService = Startup.AutofacContainer.Resolve <IStockMarketService>(); }
public SqlBaseModel(IStockMarketService stockMarketService) { _stockMarketService = stockMarketService; }
public StockMarketController(IStockMarketService _stockMarketService) { stockMarketService = _stockMarketService; }
public StockBroker(IStockMarketService service) { this.service = service; }
public HomeController(IStockMarketService stockMarketService) { _stockMarketService = stockMarketService; }
public EditSqlModel(IStockMarketService stockMarketService) : base(stockMarketService) { }
public CreateSqlModel(IStockMarketService stockMarketService) : base(stockMarketService) { }