RangeTRange, TStateMerge(RangeTRange, TState, IComparerTRange) 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.150 -- Release Build+64e3b411e1abfbd2d4d8a81e850c3909a0ce8731
public Range<TRange, TState> Merge(
	Range<TRange, TState> range,
	IComparer<TRange> comparer
)

Parameters

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

Return Value

RangeTRange, TState
The range that fully encompasses the merged ranges.

Exceptions

See Also