public static bool IsSegmentReviewTypes(this DisplayFilterRowInfo rowInfo, DisplayFilterSettings settings) { var success = rowInfo.IsSegmentWithTQAs(settings) || rowInfo.IsSegmentWithTrackedChanges(settings) || rowInfo.IsSegmentWithComments(settings) || rowInfo.IsSegmentWithMessages(settings); return(success); }
public static bool SegmentContainsTrackedChanges(this DisplayFilterRowInfo rowInfo, DisplayFilterSettings settings) { // If both options and the "And" relationship operator is selected if (settings.IsAndOperator && AreBothSourceAndTargetTrackedSelected(settings)) { return(rowInfo.IsSegmentWithSourceAndTargetTrackedChanges(settings)); } return(rowInfo.IsSegmentWithSourceTrackedChanges(settings) || rowInfo.IsSegmentWithTargetTrackedChanges(settings) || rowInfo.IsSegmentWithTrackedChanges(settings) || rowInfo.IsSegmentWithSourceAndTargetTrackedChanges(settings)); }