|
DebugAssert Method
|
Throws an exception if a condition is false.
Namespace:
Accord.Diagnostics
Assembly:
Accord (in Accord.dll) Version: 3.8.0
Syntax [ConditionalAttribute("DEBUG")]
public static void Assert(
bool condition,
string message = "Internal framework error."
)
<ConditionalAttribute("DEBUG")>
Public Shared Sub Assert (
condition As Boolean,
Optional message As String = "Internal framework error."
)
Request Example
View SourceParameters
- condition
- Type: SystemBoolean
- message (Optional)
- Type: SystemString
See Also