Click or drag to resize

Range<TRange, TState> .Merge(IEnumerable<Range<TRange, TState> > , Comparer<TRange> ) Method

Merges all ranges in a collection of ranges.

Namespace: GSF
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.243-beta+92d6762f3b12bbbc557022a0922be296d2dc09be
Syntax
public static Range<TRange, TState> Merge(
	IEnumerable<Range<TRange, TState>> ranges,
	Comparer<TRange> comparer
)
View Source

Parameters

ranges  IEnumerable<Range<TRange, TState>>
The collection of ranges to be merged.
comparer  Comparer<TRange>
The comparer used to compare objects of type TRange.

Return Value

Range<TRange, TState>
A range that is the result of merging all ranges in the collection.
See Also