Skip to content

M_CodeJam_DebugCode_BugIf_1

Andrew Koryavchenko edited this page Jun 17, 2018 · 3 revisions

DebugCode.BugIf Method (Boolean, String, Object[])

Asserts if the given condition is satisfied.

Namespace: CodeJam
Assembly: CodeJam (in CodeJam.dll) Version: 2.1.0.0

Syntax

C#

[ConditionalAttribute("DEBUG")]
public static void BugIf(
	bool condition,
	string messageFormat,
	params Object[] args
)

VB

<ConditionalAttribute("DEBUG")>
Public Shared Sub BugIf ( 
	condition As Boolean,
	messageFormat As String,
	ParamArray args As Object()
)

F#

[<ConditionalAttribute("DEBUG")>]
static member BugIf : 
        condition : bool * 
        messageFormat : string * 
        args : Object[] -> unit 

Parameters

 

condition
Type: System.Boolean
The condition to check.
messageFormat
Type: System.String
The message format.
args
Type: System.Object[]
The arguments.

See Also

Reference

DebugCode Class
BugIf Overload
CodeJam Namespace

Clone this wiki locally