Quantcast
Channel: Fluent Assertions
Viewing all articles
Browse latest Browse all 1402

New Post: CollectionPropertyAssertions

$
0
0

This is because T in this class is the type of the collection, not the type of the items in the collection. I tried to add a second generic type parameter, but then the compiler couldn't infer the type parameters anymore. You then had to do stuff like collection.Should<MyCollection<string>>(). If you know a better way, let me know, but I've run out of options here.


Viewing all articles
Browse latest Browse all 1402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>