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.322-beta+23e5f0c4a5ec41c0eb4a07dfa487a9d04edc053e
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