DeepEqual.Bindings extends the idea of comparing 2 object graphs (DeepEqual library).
By default, nodes not matched by name between graphs make objects not equal.
With DeepEqual.Bindings you can override that behavior.
You can bind nodes with different names by specifying how they are compared by 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.

Install-Package DeepEqual.Bindings -Version
dotnet add package DeepEqual.Bindings --version
<PackageReference Include="DeepEqual.Bindings" Version="" />
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.
#r "nuget: DeepEqual.Bindings,"
For F# scripts that support #r syntax, copy this into the source code to reference the package.

Release Notes

Available functionalities:
Unit tests are added.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated 766 5/14/2016 548 5/13/2016 549 5/13/2016 560 5/13/2016 733 5/13/2016