Skip to content

M_CodeJam_DebugCode_AssertState

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

DebugCode.AssertState Method (Boolean, String)

State assertion

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

Syntax

C#

[ConditionalAttribute("DEBUG")]
public static void AssertState(
	bool condition,
	string message
)

VB

<ConditionalAttribute("DEBUG")>
Public Shared Sub AssertState ( 
	condition As Boolean,
	message As String
)

F#

[<ConditionalAttribute("DEBUG")>]
static member AssertState : 
        condition : bool * 
        message : string -> unit 

Parameters

 

condition
Type: System.Boolean
The condition to check
message
Type: System.String
The message.

See Also

Reference

DebugCode Class
AssertState Overload
CodeJam Namespace

Clone this wiki locally