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