Is it possible to ignore matching rows in Lists (IEnumerables)
Can we expand the first 1000 lines limit? Maybe if we can exclude matching rows it will not hit this limitation.
If the matching rows of the list were excluded, you wouldn't be able to see where items were inserted/deleted:
Util.Dif ("abcef".ToCharArray(), "abcdef".ToCharArray())
In this example, all you'd see is the green insertion.
To see only the green row would be perfectly fine in above sample, e.g. by setting a switch to HideMatchingRows.
If I use your code above I will get this result. I would expect the result shown in your sample, having some magic to see if there are gaps
Maybe a RowDif command would be helpful, giving the possibility to act on row state.
The magic how to compare rows and find possible gaps and additions (based on hash or primary keys...) maybe the hard thing
If this was uservoice, I would vote for this request (as long as it was optional)
Quite often when I am using Util.Dif, the order is not important.
@OnkelTom - you're running LINQPad 6. Util.Dif has been improved in LINQPad 7 and can detect insertions/deletions in simple lists.
Is there a simple way to get the LINQPad.ObjectGraph results, which is the interesting part to use that in code, e.g. get all ExtraElementNodes, using Uncapsulate is having limitations while going to deep in the structure
Not sure that I understand. What are you aiming to achieve?