Skip to content

M_CodeJam_DebugCode_AssertArgument

andrewvk edited this page Mar 30, 2016 · 8 revisions

DebugCode.AssertArgument Method (Boolean, String, String)

[This is preliminary documentation and is subject to change.]

Assertion for the argument value

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

Syntax

C#

[ConditionalAttribute("DEBUG")]
[AssertionMethodAttribute]
public static void AssertArgument(
	bool condition,
	[NotNullAttribute][InvokerParameterNameAttribute] string argName,
	[NotNullAttribute] string message
)

VB

<ConditionalAttribute("DEBUG")>
<AssertionMethodAttribute>
Public Shared Sub AssertArgument ( 
	condition As Boolean,
	<NotNullAttribute><InvokerParameterNameAttribute> argName As String,
	<NotNullAttribute> message As String
)

F#

[<ConditionalAttribute("DEBUG")>]
[<AssertionMethodAttribute>]
static member AssertArgument : 
        condition : bool * 
        [<NotNullAttribute>][<InvokerParameterNameAttribute>] argName : string * 
        [<NotNullAttribute>] message : string -> unit 

Parameters

 

condition
Type: System.Boolean
[Missing documentation for "M:CodeJam.DebugCode.AssertArgument(System.Boolean,System.String,System.String)"]
argName
Type: System.String
[Missing documentation for "M:CodeJam.DebugCode.AssertArgument(System.Boolean,System.String,System.String)"]
message
Type: System.String
[Missing documentation for "M:CodeJam.DebugCode.AssertArgument(System.Boolean,System.String,System.String)"]

See Also

Reference

DebugCode Class
AssertArgument Overload
CodeJam Namespace

Clone this wiki locally