public IList <IRow> Rows(PortfolioViewType portfolioViewType) { return(portfolioViewType == PortfolioViewType.Trades ? Trades.Rows() : ProfitAndLoss.Rows()); }
public IList <IColumn> Columns(PortfolioViewType portfolioViewType) { return(portfolioViewType == PortfolioViewType.Trades ? Trades.Columns() : ProfitAndLoss.Columns()); }