Class ArgumentNullExceptionExtensions
Extends ArgumentNullException class.
Inherited Members
Namespace: DotNext
Assembly: DotNext.dll
Syntax
public static class ArgumentNullExceptionExtensions
Methods
View SourceThrowIfNull<T>(T?, string)
Throws ArgumentNullException if argument
is null.
Declaration
public static void ThrowIfNull<T>(T? argument, string paramName = "") where T : allows ref struct
Parameters
| Type | Name | Description |
|---|---|---|
| T | argument | The value to check. |
| string | paramName | The string which represents |
Type Parameters
| Name | Description |
|---|---|
| T | The type of the value. |