Getting rid of null checks in property chains with - but not limited t(bit.ly)
submitted by
sandord(140) 1 year, 9 months ago
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. read more...
|category: C#
|Views: 556
tags:
C# another
Everyones tags:
Your Tags: