-
Notifications
You must be signed in to change notification settings - Fork 35
M_CodeJam_Ranges_RangeBoundaryTo_1_AdjustAndCreate
Andrew Koryavchenko edited this page Jun 17, 2018
·
3 revisions
Infrastructure helper method to create a boundary that handles default and infinite values. The boundaryKind should be either Inclusive or Exclusive
Namespace: CodeJam.Ranges
Assembly: CodeJam (in CodeJam.dll) Version: 2.1.0.0
C#
[EditorBrowsableAttribute(EditorBrowsableState.Never)]
public static RangeBoundaryTo<T> AdjustAndCreate(
T value,
RangeBoundaryToKind boundaryKind
)
VB
<EditorBrowsableAttribute(EditorBrowsableState.Never)>
Public Shared Function AdjustAndCreate (
value As T,
boundaryKind As RangeBoundaryToKind
) As RangeBoundaryTo(Of T)
F#
[<EditorBrowsableAttribute(EditorBrowsableState.Never)>]
static member AdjustAndCreate :
value : 'T *
boundaryKind : RangeBoundaryToKind -> RangeBoundaryTo<'T>
- value
- Type: T
The value of the boundary. - boundaryKind
- Type: CodeJam.Ranges.RangeBoundaryToKind
The kind of the boundary.
Type: RangeBoundaryTo(T)
A new range boundary.