public static bool IsRepetitionTypes(this DisplayFilterRowInfo rowInfo, DisplayFilterSettings settings) { var success = rowInfo.IsRepetitionsAll(settings) || rowInfo.IsRepetitionsFirstOccurrences(settings) || rowInfo.IsRepetitionsExcludingFirstOccurrences(settings); return(success); }
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); }