Esempio n. 1
0
        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));
        }