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.184 -- Release Build+e88d612bae8af26e31c9a143425022134d0db940
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