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.266-beta+c6b78f50c57a6e00a35ffa6b1d344e516617d5cd
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