CliContract.ThrowIfNotNull Method
Namespace: DensoCreate.Cli.Framework
Description
Checks if a value is null.
Argument
| Name | Type | Description |
|---|---|---|
| value | T | Value to test. |
| message | string | Message if the check detects a problem. (Optional) |
Return value
- void
Exception
| Name | Exception class | Description |
|---|---|---|
| Assertion violation | CliInternalException | If value is not null |