DeepEqual.Bindings extends the idea of  comparing 2 object graphs (DeepEqual library). By default, nodes with different name are considered different. Now, you can bind nodes with different names by specifying how they are compared by comparison expression.

The most common usage looks like this:

var a1 = new A1 { B1 = new B1 { Y = "value" } };
var a2 = new A2 { B2 = new B2 { Y = "value" } };
var comparer = ExtendedComparer<A1, A2>.New()
.Bind(x1 => x1.B1, x2 => x2.B2);
var result = comparer.Compare(a1, a2);
//result is true.

There is a newer version of this package available.
See the version list below for details.
Install-Package DeepEqual.Bindings -Version
dotnet add package DeepEqual.Bindings --version
<PackageReference Include="DeepEqual.Bindings" Version="">
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add DeepEqual.Bindings --version
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

Available functionalities:
Unit tests are added

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated 434 5/14/2016 287 5/13/2016 297 5/13/2016 296 5/13/2016 431 5/13/2016