RangeTRange, TStateContains(TRange, ComparisonTRange) Method

Determines whether the range contains the given value.

Definition

Namespace: Gemstone
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.187 -- Release Build+7bcde392e6ad6f75391609740b4385c2d8a0dd2a
public bool Contains(
	TRange value,
	Comparison<TRange> comparison
)

Parameters

value  TRange
The value to be compared with.
comparison  ComparisonTRange
The comparison used to compare objects of type TRange.

Return Value

Boolean
True if the value exists within the range; false otherwise.

See Also