Click or drag to resize

RangeTRange, TStateContains(TRange, IComparerTRange) Method

Determines whether the range contains the given value.

Namespace: GSF
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.245-beta+94213ae9d4d0aa7a2c48e5398b12d267b99f868a
Syntax
public bool Contains(
	TRange value,
	IComparer<TRange> comparer
)
View Source

Parameters

value  TRange
The value to be compared with.
comparer  IComparerTRange
The comparer used to compare objects of type TRange.

Return Value

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