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.249-beta+56964f8aed6f3f2e54faec1539f7ce0ba6548fdf
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