Click or drag to resize

RangeTMerge(RangeT, IComparerT) Method

Merges two ranges into one range that fully encompasses both ranges.

Namespace: GSF
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.241-beta+912389e96d98840d2a999d490420db618dcbe4c6
Syntax
public Range<T> Merge(
	Range<T> range,
	IComparer<T> comparer
)
View Source

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