Full autonomous typesafe .Net object comparison with high resolution control through extensibility and customisation. Compare any objects you want, how you want and easily get the results you need.
Install-Package Zaybu.ZCompare -Version 1.3.1
dotnet add package Zaybu.ZCompare --version 1.3.1
<PackageReference Include="Zaybu.ZCompare" Version="1.3.1" />
paket add Zaybu.ZCompare --version 1.3.1
The results for the following scenario have changed to allow better handling of results.
var orignalObject = null;
var updatedObject = new SomeObject();
var results = ZCompare.Compare(originalObject, updatedObject);
var someObjectResult = results.GetResults(updatedObject);
The someObjectResult will now contain a result that indicates that the updatedObject has been added.
Previously, someObjectResult would of been null. In this instance the updatedObject is allowed as a reference object to get results as the originalObject is null.
This package has no dependencies.