We'd like to compare two aggregate roots ignoring a few audit properties (CreatedBy, CreatedOn) on all entities within the root.
AllPropertiesBut() only excludes properties on the root object.
I think this is similar to this post below in that we'd like to configure how nested objects are compared:
http://fluentassertions.codeplex.com/discussions/284312
Comments: Associated with changeset 79579: Introduced an IAssertionRule that takes the subject and expectation value and the PropertyInfo of the subject property. Returns true if the rule handled the assertion and no other rules should be considered.
AllPropertiesBut() only excludes properties on the root object.
I think this is similar to this post below in that we'd like to configure how nested objects are compared:
http://fluentassertions.codeplex.com/discussions/284312
Comments: Associated with changeset 79579: Introduced an IAssertionRule that takes the subject and expectation value and the PropertyInfo of the subject property. Returns true if the rule handled the assertion and no other rules should be considered.