-
Notifications
You must be signed in to change notification settings - Fork 35
T_CodeJam_Ranges_CompositeRangeExtensions
Andrew Koryavchenko edited this page Jun 17, 2018
·
3 revisions
Extension methods for CompositeRange(T).
Extension methods for .
Extension methods for .
System.Object
CodeJam.Ranges.CompositeRangeExtensions
Namespace: CodeJam.Ranges
Assembly: CodeJam (in CodeJam.dll) Version: 2.1.0.0
C#
public static class CompositeRangeExtensions
VB
<ExtensionAttribute>
Public NotInheritable Class CompositeRangeExtensions
F#
[<AbstractClassAttribute>]
[<SealedAttribute>]
[<ExtensionAttribute>]
type CompositeRangeExtensions = class end
Name | Description | |
---|---|---|
GetComplementation(T)(Range(T)) | Returns complementation composite range. Result range contains result of (infinityRange.Exclude(range). | |
GetComplementation(T, TKey)(Range(T, TKey)) | Returns complementation composite range. Result range contains result of (infinityRange.Exclude(range). | |
ToCompositeRange(T)(Range(T)) | Converts range to the composite range. | |
ToCompositeRange(T)(IEnumerable(Range(T))) | Converts sequence of elements to the composite range. | |
ToCompositeRange(T, TKey)(Range(T, TKey)) | Converts range to the composite range. | |
ToCompositeRange(T, TKey)(IEnumerable(Range(T, TKey))) | Converts sequence of elements to the composite range. | |
ToCompositeRange(T, TKey)(IEnumerable(TKey), Func(TKey, T), Func(TKey, T)) | Converts sequence of elements to the composite range. | |
ToCompositeRange(TSource, T, TKey)(IEnumerable(TSource), Func(TSource, T), Func(TSource, T), Func(TSource, TKey)) | Converts sequence of elements to the composite range. | |
ToCompositeRangeFrom(TSource, T)(IEnumerable(TSource), Func(TSource, T)) | Converts sequence of elements to the composite range using only From boundary. The To boundary value is taken from the next item in sequence (+∞ for the last item in sequence) | |
ToCompositeRangeFrom(TSource, T, TKey)(IEnumerable(TSource), Func(TSource, T), Func(TSource, TKey)) | Converts sequence of elements to the composite range using only From boundary. The To boundary value is taken from the next item in sequence (+∞ for the last item in sequence) | |
ToCompositeRangeTo(TSource, T)(IEnumerable(TSource), Func(TSource, T)) | Converts sequence of elements to the composite range using only To boundary. The From boundary value is taken from the previous item in sequence (-∞ for the last item in sequence). | |
ToCompositeRangeTo(TSource, T, TKey)(IEnumerable(TSource), Func(TSource, T), Func(TSource, TKey)) | Converts sequence of elements to the composite range using only To boundary. The From boundary value is taken from the previous item in sequence (-∞ for the last item in sequence). |
CodeJam.Ranges Namespace
CodeJam.Ranges.CompositeRange(T)
CodeJam.Ranges.CompositeRange(T)