-
Notifications
You must be signed in to change notification settings - Fork 35
M_CodeJam_Ranges_CompositeRangeExtensions_GetComplementation__2
Andrew Koryavchenko edited this page Jun 17, 2018
·
3 revisions
Returns complementation composite range. Result range contains result of (infinityRange.Exclude(range).
Namespace: CodeJam.Ranges
Assembly: CodeJam (in CodeJam.dll) Version: 2.1.0.0
C#
public static CompositeRange<T> GetComplementation<T, TKey>(
this Range<T, TKey> range
)
VB
<ExtensionAttribute>
Public Shared Function GetComplementation(Of T, TKey) (
range As Range(Of T, TKey)
) As CompositeRange(Of T)
F#
[<ExtensionAttribute>]
static member GetComplementation :
range : Range<'T, 'TKey> -> CompositeRange<'T>
- range
- Type: CodeJam.Ranges.Range(T, TKey)
The source range.
- T
- The type of the range values.
- TKey
- The type of the range key
Type: CompositeRange(T)
Complementation composite range.
In Visual Basic and C#, you can call this method as an instance method on any object of type Range(T, TKey). When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
CompositeRangeExtensions Class
GetComplementation Overload
CodeJam.Ranges Namespace