259 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
Join in on a hand-picked round up of the best .NET articles every day.
Curated by our Moderators and Voted up by our Community. Free.
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");