|
| static void | Assert (bool val, string message) |
| | If val is false, throws a System.Exception with the message . More...
|
| |
| static void | Assert (bool val, System.Exception exception) |
| | If val is false, throws exception . More...
|
| |
| static void | Throw (string message) |
| |
| static void | Throw (System.Exception exception) |
| |
Definition at line 1 of file Diagnostics.cs.
◆ Assert() [1/2]
| static void Diagnostics.Assert |
( |
bool |
val, |
|
|
string |
message |
|
) |
| |
|
inlinestatic |
If val is false, throws a System.Exception with the message .
- Parameters
-
| val | Checks if this value is true. |
| message | Message for the thrown exception. |
Definition at line 8 of file Diagnostics.cs.
◆ Assert() [2/2]
| static void Diagnostics.Assert |
( |
bool |
val, |
|
|
System.Exception |
exception |
|
) |
| |
|
inlinestatic |
If val is false, throws exception .
- Parameters
-
| val | Checks if this value is true. |
| exception | Exception to throw. |
Definition at line 21 of file Diagnostics.cs.
◆ Throw() [1/2]
| static void Diagnostics.Throw |
( |
string |
message | ) |
|
|
inlinestatic |
◆ Throw() [2/2]
| static void Diagnostics.Throw |
( |
System.Exception |
exception | ) |
|
|
inlinestatic |
The documentation for this class was generated from the following file: