Click or drag to resize

Range<T> .Merge(IEnumerable<Range<T> > , Comparison<T> ) Method

Merges all ranges in a collection of ranges.

Namespace: GSF
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.246-beta+ff392465a0262ee2737937d4127fc3c2f08c6dcd
Syntax
public static Range<T> Merge(
	IEnumerable<Range<T>> ranges,
	Comparison<T> comparison
)
View Source

Parameters

ranges  IEnumerable<Range<T>>
The collection of ranges to be merged.
comparison  Comparison<T>
The comparison used to compare objects of type T.

Return Value

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