示例#1
0
        public static bool IsRepetitionTypes(this DisplayFilterRowInfo rowInfo,
                                             DisplayFilterSettings settings)
        {
            var success = rowInfo.IsRepetitionsAll(settings) ||
                          rowInfo.IsRepetitionsFirstOccurrences(settings) ||
                          rowInfo.IsRepetitionsExcludingFirstOccurrences(settings);

            return(success);
        }
示例#2
0
        public static bool IsRepetitionTypes(this DisplayFilterRowInfo rowInfo, DisplayFilterSettings settings)
        {
            if (!rowInfo.IsSegment)
            {
                return(false);
            }

            var success = rowInfo.IsRepetitionsAll(settings) ||
                          rowInfo.IsRepetitionsFirstOccurrences(settings) ||
                          rowInfo.IsRepetitionsExcludingFirstOccurrences(settings);

            if (!success)
            {
                success = rowInfo.IsUniqueRepetition(settings);
            }

            return(success);
        }