Skip to content

M_CodeJam_Ranges_RangeBoundaryTo_1_AdjustAndCreate

andrewvk edited this page Jul 1, 2016 · 3 revisions

RangeBoundaryTo(T).AdjustAndCreate Method

Infrastructure helper method to create a boundary that handles default and infinite values.

Namespace: CodeJam.Ranges
Assembly: CodeJam (in CodeJam.dll) Version: 1.1.0.0 (1.1.0.0)

Syntax

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> 

Parameters

 

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

Return Value

Type: RangeBoundaryTo(T)
A new range boundary.

See Also

Reference

RangeBoundaryTo(T) Structure
CodeJam.Ranges Namespace

Clone this wiki locally