A Fluent syntax Guard method to perform (pre condition) contracts

added by erik_
1/4/2011 3:40:51 AM

2 Kicks, 109 Views

Precondition method contracts explained and a sample of a nice fluent syntax: Guard .With<ArgumentNullException> .Against(object == null) .Say("The object cannot be null, than I am not able to process it");


0 comments