Telerik® JustMock™ by Progress

Matches argument for the specified range.

Namespace: Telerik.JustMock
Assembly: Telerik.JustMock (in Telerik.JustMock.dll) Version: 2013.3.1021.0 (2013.3.1021.0)

Syntax

C#
public static T IsInRange<T>(
	T from,
	T to,
	RangeKind kind
)
where T : IComparable
Visual Basic
Public Shared Function IsInRange(Of T As IComparable) ( _
	from As T, _
	to As T, _
	kind As RangeKind _
) As T

Parameters

from
Type: T
starting value.
to
Type: T
ending value.
kind
Type: Telerik.JustMock..::..RangeKind
Kind of Range

Type Parameters

T
Type of the argument.

Return Value

Argument type

See Also