-
Notifications
You must be signed in to change notification settings - Fork 35
M_CodeJam_Ranges_RangeBoundaryFrom_1_WithValue
Andrew Koryavchenko edited this page Jun 17, 2018
·
4 revisions
Creates a new boundary with updated value (if the current boundary has one). If the boundary has no value the method returns the boundary unchanged.
Namespace: CodeJam.Ranges
Assembly: CodeJam (in CodeJam.dll) Version: 2.1.0.0
C#
public RangeBoundaryFrom<T> WithValue(
Func<T, T> newValueSelector
)
VB
Public Function WithValue (
newValueSelector As Func(Of T, T)
) As RangeBoundaryFrom(Of T)
F#
member WithValue :
newValueSelector : Func<'T, 'T> -> RangeBoundaryFrom<'T>
- newValueSelector
- Type: System.Func(T, T)
Callback to obtain a new value for the boundary. Used if the boundary has a value.
Type: RangeBoundaryFrom(T)
Range boundary with the same kind but with a new value (if the current boundary has one).
RangeBoundaryFrom(T) Structure
WithValue Overload
CodeJam.Ranges Namespace