Click or drag to resize

RangeTRange, TStateContains(TRange, ComparisonTRange) Method

Determines whether the range contains the given value.

Namespace: GSF
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.260-beta+0f4e919571e6ec7e8e07a8e325416284b7e38fa3
Syntax
public bool Contains(
	TRange value,
	Comparison<TRange> comparison
)
View Source

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