Home

Util.Dif with the Uncapsulate() conflict

edited March 2024

I'm trying to diff two object with Uncapsulate() method. It failed.

Util.Dif(model.Uncapsulate().Dump(), model2.Uncapsulate().Dump()).Dump("DIF");

My actual need is to compare two objects including private properties.

My query: https://share.linqpad.net/82aq6kdw.linq

Comments

Sign In or Register to comment.