private void NewPortfoliosHandler(IEnumerable <Portfolio> portfolios)
 {
     AddGuiAction(() => NewPortfolios.SafeInvoke(portfolios));
 }
 private void RealTraderOnNewPortfolios(IEnumerable <Portfolio> portfolios)
 {
     NewPortfolios.SafeInvoke(this, new PortfoliosEventArgs(portfolios));
 }
Exemple #3
0
 /// <summary>
 /// To call the event <see cref="Connector.NewPortfolios"/>.
 /// </summary>
 /// <param name="portfolios">Portfolios that should be passed to the event.</param>
 private void RaiseNewPortfolios(IEnumerable <Portfolio> portfolios)
 {
     NewPortfolios.SafeInvoke(portfolios);
 }