|
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.205-beta+5ef4169f3b1079d8b163dd363614f656bd140924
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