RangeTMerge(RangeT, IComparerT) 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.110 -- Release Build+3e0464f4461df4d3e1175b13966eb47ff832554d
public Range<T> Merge(
	Range<T> range,
	IComparer<T> comparer
)

Parameters

range  RangeT
The range to be merged with this one.
comparer  IComparerT
The comparer used to compare objects of type T.

Return Value

RangeT
The range that fully encompasses the merged ranges.

See Also