Skip to content

M_CodeJam_DebugCode_InRange

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

DebugCode.InRange Method (Double, String, Double, Double)

Assertion for the argument in range

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

Syntax

C#

[ConditionalAttribute("DEBUG")]
public static void InRange(
	double value,
	string argName,
	double fromValue,
	double toValue
)

VB

<ConditionalAttribute("DEBUG")>
Public Shared Sub InRange ( 
	value As Double,
	argName As String,
	fromValue As Double,
	toValue As Double
)

F#

[<ConditionalAttribute("DEBUG")>]
static member InRange : 
        value : float * 
        argName : string * 
        fromValue : float * 
        toValue : float -> unit 

Parameters

 

value
Type: System.Double
The value.
argName
Type: System.String
Name of the argument.
fromValue
Type: System.Double
From value (inclusive).
toValue
Type: System.Double
To value (inclusive).

See Also

Reference

DebugCode Class
InRange Overload
CodeJam Namespace

Clone this wiki locally