Click or drag to resize

RangeTRange, TStateMerge(RangeTRange, TState, ComparisonTRange) Method

Merges two ranges into one range that fully encompasses both ranges.

Namespace: GSF
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.276-beta+3dd4b43be3e31323696af3ab6b14b705e6420d69
Syntax
public Range<TRange, TState> Merge(
	Range<TRange, TState> range,
	Comparison<TRange> comparison
)
View Source

Parameters

range  RangeTRange, TState
The range to be merged with this one.
comparison  ComparisonTRange
The comparison used to compare objects of type TRange.

Return Value

RangeTRange, TState
The range that fully encompasses the merged ranges.
Exceptions
ExceptionCondition
InvalidOperationExceptionTState is not IMergeableT.
See Also