Click or drag to resize

Range<TRange, TState> .Merge(Range<TRange, TState> , Comparison<TRange> ) Method

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

Namespace: GSF
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.244-beta+cf93f5f8aea4b941e9b426fe4e180c2bd85d31a2
Syntax
public Range<TRange, TState> Merge(
	Range<TRange, TState> range,
	Comparison<TRange> comparison
)
View Source

Parameters

range  Range<TRange, TState>
The range to be merged with this one.
comparison  Comparison<TRange>
The comparison used to compare objects of type TRange.

Return Value

Range<TRange, TState>
The range that fully encompasses the merged ranges.
Exceptions
ExceptionCondition
InvalidOperationExceptionTState is not IMergeable<T>.
See Also