Class ArgumentNullGuardVerifier
Verifies that a constructor or method has guards againsts null arguments for all its non-nullable parameters, meaning it throws an ArgumentNullException when called with a null argument for such parameters.
Inherited Members
Namespace: RentADeveloper.ArgumentNullGuards
Assembly: RentADeveloper.ArgumentNullGuards.dll
Syntax
public static class ArgumentNullGuardVerifier
Methods
| Edit this page View SourceVerify(LambdaExpression)
Verifies that the constructor or method called in the expression validCallExpression has
guards against null arguments for all its non-nullable parameters.
Declaration
public static void Verify(LambdaExpression validCallExpression)
Parameters
| Type | Name | Description |
|---|---|---|
| LambdaExpression | validCallExpression | The expression that calls the constructor or method to verify with valid arguments. |
Exceptions
| Type | Condition |
|---|---|
| ArgumentException |
|
| ArgumentNullException |
|