关于[Using Guard Clauses in .NET]的摘要:
A guard clause, is a check of integrity preconditions used to avoid errors during execution. It helps you to simplify code by removing useless nested branching conditions and returning meaningful errors. To achieve it in .NET you can do it using a library or writing your own defensive code, in this article I’ll show you how to do it by using a great library called Dawn. Guard.