Skip to content

M_CodeJam_DebugCode_InRange__1

andrewvk edited this page Apr 21, 2016 · 8 revisions

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

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

Assertion for the argument in range

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

Syntax

C#

[ConditionalAttribute("DEBUG")]
public static void InRange<T>(
	T value,
	string argName,
	T fromValue
)

VB

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

F#

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

Parameters

 

value
Type: T
[Missing documentation for "M:CodeJam.DebugCode.InRange1(0,System.String,0)"\]</dd><dt>argName</dt><dd>Type: <a href="http://msdn2.microsoft.com/en-us/library/s1wwdcbf" target="_blank">System.String</a><br />\[Missing <param name="argName"/> documentation for "M:CodeJam.DebugCode.InRange1(0,System.String,0)"]
fromValue
Type: T
[Missing documentation for "M:CodeJam.DebugCode.InRange1(0,System.String,``0)"]

Type Parameters

 

T

See Also

Reference

DebugCode Class
InRange Overload
CodeJam Namespace

Clone this wiki locally