|
RangeTRange, TStateMerge(RangeTRange, TState, IComparerTRange) Method
|
Merges two ranges into one range that fully encompasses both ranges.
Namespace: GSFAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.207-beta+1781b796b2aa7a54013a031eb432fe4ccee31867
Syntax Public Function Merge (
range As Range(Of TRange, TState),
comparer As IComparer(Of TRange)
) As Range(Of TRange, TState)
public:
Range<TRange, TState>^ Merge(
Range<TRange, TState>^ range,
IComparer<TRange>^ comparer
)
member Merge :
range : Range<'TRange, 'TState> *
comparer : IComparer<'TRange> -> Range<'TRange, 'TState>
function Merge(range, comparer);
View SourceParameters
- range RangeTRange, TState
- The range to be merged with this one.
- comparer IComparerTRange
- The comparer used to compare objects of type TRange.
Return Value
RangeTRange,
TStateThe range that fully encompasses the merged ranges.
Exceptions See Also