Exemplo n.º 1
0
        public IReportRow Compare(PageResponse origin, PageResponse target)
        {
            var unequalFields   = new List <TagValue>();
            var page1Attributes = origin.FindTagValues(_compareFields);
            var page2Attributes = target.FindTagValues(_compareFields);

            unequalFields.AddRange(page1Attributes.Except(page2Attributes, new TagValueComparer()));

            return(new TagCompareResult(origin, unequalFields));
        }