RangeTMergeConsecutiveOverlapping(IEnumerableRangeT) Method

Merges all consecutive groups of overlapping ranges in a collection and returns the resulting collection of ranges.

Definition

Namespace: Gemstone
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.160 -- Release Build+19b74ac03cedad8575bb1ceb00051318b7421d0d
public static IEnumerable<Range<T>> MergeConsecutiveOverlapping(
	IEnumerable<Range<T>> ranges
)

Parameters

ranges  IEnumerableRangeT
The collection of ranges.

Return Value

IEnumerableRangeT
The collection of merged ranges.

See Also