private void RaiseNewPortfolio(Portfolio portfolio) { NewPortfolio.SafeInvoke(portfolio); var multiEvt = NewPortfolios; if (multiEvt == null) { return; } multiEvt.SafeInvoke(new[] { portfolio }); }
internal void OnAddPortfolio(int row, int rowCount, string name, string exchange, SmartPortfolioStatus status) { NewPortfolio.SafeInvoke(row, rowCount, name, exchange, status); }
private void NewPortfolioHandler(Portfolio portfolio) { AddGuiAction(() => NewPortfolio.SafeInvoke(portfolio)); }