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.323-beta+aefb8e4393da7a2a0171af4e5d5d8668dbbc75f1
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