-
Notifications
You must be signed in to change notification settings - Fork 35
M_CodeJam_DebugCode_InRange__1
Andrew Koryavchenko edited this page Jun 17, 2018
·
8 revisions
Assertion for the argument in range
Namespace: CodeJam
Assembly: CodeJam (in CodeJam.dll) Version: 2.1.0.0
C#
[ConditionalAttribute("DEBUG")]
public static void InRange<T>(
T value,
string argName,
T fromValue,
T toValue
)
VB
<ConditionalAttribute("DEBUG")>
Public Shared Sub InRange(Of T) (
value As T,
argName As String,
fromValue As T,
toValue As T
)
F#
[<ConditionalAttribute("DEBUG")>]
static member InRange :
value : 'T *
argName : string *
fromValue : 'T *
toValue : 'T -> unit
- value
- Type: T
The value. - argName
- Type: System.String
Name of the argument. - fromValue
- Type: T
From value (inclusive). - toValue
- Type: T
To value (inclusive).
- T
- Type of the value