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.185 -- Release Build+887b2e7e6f8689bd24b3b07ac2031d4989512fbc
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