Error!
Success!

Getting rid of null checks in property chains with - but not limited t

0
kicks

Getting rid of null checks in property chains with - but not limited t  (Unpublished)

This article explains how to get rid of the annoying null checks you often have to do before you can evaluate expressions like Order.Customer.Address.ZipCode safely. The provided code builds and compiles an expression tree that does the job in an elegant and well performing manner. Specific extension methods for AutoMapper and S#arpArchitecture are provided as well.


Kicked By:
Drop Kicked By: