private void NewPortfoliosHandler(IEnumerable <Portfolio> portfolios) { AddGuiAction(() => NewPortfolios.SafeInvoke(portfolios)); }
private void RealTraderOnNewPortfolios(IEnumerable <Portfolio> portfolios) { NewPortfolios.SafeInvoke(this, new PortfoliosEventArgs(portfolios)); }
/// <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); }