Skip to content

M_CodeJam_Ranges_RangeBoundaryFrom_1_AdjustAndCreate

Andrew Koryavchenko edited this page Jun 17, 2018 · 3 revisions

RangeBoundaryFrom(T).AdjustAndCreate Method

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

Syntax

C#

[EditorBrowsableAttribute(EditorBrowsableState.Never)]
public static RangeBoundaryFrom<T> AdjustAndCreate(
	T value,
	RangeBoundaryFromKind boundaryKind
)

VB

<EditorBrowsableAttribute(EditorBrowsableState.Never)>
Public Shared Function AdjustAndCreate ( 
	value As T,
	boundaryKind As RangeBoundaryFromKind
) As RangeBoundaryFrom(Of T)

F#

[<EditorBrowsableAttribute(EditorBrowsableState.Never)>]
static member AdjustAndCreate : 
        value : 'T * 
        boundaryKind : RangeBoundaryFromKind -> RangeBoundaryFrom<'T> 

Parameters

 

value
Type: T
The value of the boundary.
boundaryKind
Type: CodeJam.Ranges.RangeBoundaryFromKind
The kind of the boundary.

Return Value

Type: RangeBoundaryFrom(T)
A new range boundary.

See Also

Reference

RangeBoundaryFrom(T) Structure
CodeJam.Ranges Namespace

Clone this wiki locally