-
Notifications
You must be signed in to change notification settings - Fork 35
M_CodeJam_Ranges_Range_2_WithValues__1
Andrew Koryavchenko edited this page Jun 17, 2018
·
1 revision
Updates the values of the boundaries of the range.
Namespace: CodeJam.Ranges
Assembly: CodeJam (in CodeJam.dll) Version: 2.1.0.0
C#
public Range<T2, TKey> WithValues<T2>(
Func<T, T2> newValueSelector
)
VB
Public Function WithValues(Of T2) (
newValueSelector As Func(Of T, T2)
) As Range(Of T2, TKey)
F#
member WithValues :
newValueSelector : Func<'T, 'T2> -> Range<'T2, 'TKey>
- newValueSelector
- Type: System.Func(T, T2)
Callback to obtain a new value for the boundaries. Used if boundary has a value.
- T2
- The type of new range values.
Type: Range(T2, TKey)
A range with new values.
Range(T, TKey) Structure
WithValues Overload
CodeJam.Ranges Namespace