private void DeletePortfolioButtonClicked(object sender, RoutedEventArgs e) { // QuickArbitrage.Connection.TransferTest.Customer customer = // QuickArbitrage.Connection.TransferTest.StreamFileTest.ReadCustomer("e:\\cpp.bin"); IQuoteClient quoteClient = QuickArbitrage.Connection.ClientFactory.Instance.GetQuoteClient(); quoteClient.OnQuoteReceived += new EventHandler <OnQuoteReceivedEventArgs>(quoteClient_OnQuoteReceived); quoteClient.Subscribe(new string[] { "cu1206", "cu1207" }); }
public IndexModel(IQuoteClient client, IConfiguration config) { Client = client; _config = config; var envVersion = Environment.GetEnvironmentVariable("VERSION"); if (envVersion != null) { Version = new Version(envVersion.ToString()); } else { Version = new Version("0.0.0"); } BackgroundColor = Environment.GetEnvironmentVariable("BACKGROUND_COLOR"); }
public SeasonMapCommand(IDbContextScopeFactory dbContextScopeFactory, ISeasonDBRepository repository, IQuoteClient quoteClient) : base(dbContextScopeFactory, repository) { this.QuoteClient = quoteClient; }
public HomeController(IQuoteClient client, IConfiguration config) { _client = client; _config = config; }
public QuoteController(IQuoteClient quoteClient, IQuoteUpsertCommand upsertCommand) { this.QuoteClient = quoteClient; this.QuoteUpsertCommand = upsertCommand; }
public QuoteUpsertCommand(IDbContextScopeFactory dbContextScopeFactory, IQuoteDBRepository repository, IQuoteClient quoteClient) : base(dbContextScopeFactory, repository) { this.QuoteClient = quoteClient; }