RangeTRange, TStateMerge(RangeTRange, TState, ComparisonTRange) Method

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

Definition

Namespace: Gemstone
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.173 -- Release Build+298e1c238b074757f82f41812034645402a162ed
public Range<TRange, TState> Merge(
	Range<TRange, TState> range,
	Comparison<TRange> comparison
)

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

See Also