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.293-beta+b9f6fb0447e0fddffa5bbbc6db4d9737c334ae9a
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