Exemple #1
0
        public int GetMaxPageNumber()
        {
            if (MetricGroups == null || !MetricGroups.Any())
            {
                return(0);
            }

            return(MetricGroups.Max(g => g.Page));
        }
Exemple #2
0
        public int GetMaxGroupOrder()
        {
            if (MetricGroups == null || !MetricGroups.Any())
            {
                return(0);
            }

            return(MetricGroups.Max(g => g.Order));
        }