-
Notifications
You must be signed in to change notification settings - Fork 35
M_CodeJam_DebugCode_AssertArgument_1
Andrew Koryavchenko edited this page Jun 17, 2018
·
8 revisions
Assertion for the argument value
Namespace: CodeJam
Assembly: CodeJam (in CodeJam.dll) Version: 2.1.0.0
C#
[ConditionalAttribute("DEBUG")]
public static void AssertArgument(
bool condition,
string argName,
string messageFormat,
params Object[] args
)
VB
<ConditionalAttribute("DEBUG")>
Public Shared Sub AssertArgument (
condition As Boolean,
argName As String,
messageFormat As String,
ParamArray args As Object()
)
F#
[<ConditionalAttribute("DEBUG")>]
static member AssertArgument :
condition : bool *
argName : string *
messageFormat : string *
args : Object[] -> unit
- condition
- Type: System.Boolean
The condition to check - argName
- Type: System.String
Name of the argument. - messageFormat
- Type: System.String
The message format. - args
- Type: System.Object[]
The arguments.