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