Verify that a parameter is not null.
Namespace:
Bespoke.CommonAssembly: Bespoke.Common (in Bespoke.Common.dll) Version: 4.3.0.0 (4.3.0.0)
Syntax
C# |
---|
public static void ParamIsNotNull( Object param ) |
Visual Basic (Declaration) |
---|
Public Shared Sub ParamIsNotNull ( _ param As Object _ ) |
Visual C++ |
---|
public: static void ParamIsNotNull( Object^ param ) |
Parameters
- param
- Type: System..::.Object
The object to test for null.
Exceptions
Exception | Condition |
---|---|
System..::.ArgumentNullException | Thrown if param is null. |