- 
                Notifications
    
You must be signed in to change notification settings  - Fork 35
 
M_CodeJam_Ranges_RangeBoundaryTo_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 RangeBoundaryTo<T> WithValue(
	Func<T, T> newValueSelector
)VB
Public Function WithValue ( 
	newValueSelector As Func(Of T, T)
) As RangeBoundaryTo(Of T)F#
member WithValue : 
        newValueSelector : Func<'T, 'T> -> RangeBoundaryTo<'T> 
- newValueSelector
 - Type: System.Func(T, T)
Callback to obtain a new value for the boundary. Used if the boundary has a value. 
Type: RangeBoundaryTo(T)
Range boundary with the same kind but with a new value (if the current boundary has one).
RangeBoundaryTo(T) Structure
WithValue Overload
CodeJam.Ranges Namespace