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.319-beta+17d7b2e98a424c1340e89c273572ec8354341644
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