简体   繁体   中英

Fluent Assertions 6: Comparing two collections with different members types and names

In the previous versions of Fluent Assertions, there was a possibility to compare two collections with different members types and names by creating a class with implements IEquivalencyStep : https://stackoverflow.com/a/55898570

Unfortunately, version 6 changed this interface and the trick does not work. Is there any workaround for this kind of comparison in the current version of Fluent Assertions?

Why do you think this "trick" doesn't work anymore?

Also good to know that we're working on first-class support for comparing different properties.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM