Skip to content

M_CodeJam_Ranges_Range_BoundaryTo__1

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

Range.BoundaryTo(T) Method

Inclusive boundary To factory method.

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

Syntax

C#

public static RangeBoundaryTo<T> BoundaryTo<T>(
	T toValue
)

VB

Public Shared Function BoundaryTo(Of T) ( 
	toValue As T
) As RangeBoundaryTo(Of T)

F#

static member BoundaryTo : 
        toValue : 'T -> RangeBoundaryTo<'T> 

Parameters

 

toValue
Type: T
To value.

Type Parameters

 

T
The type of the boundary value.

Return Value

Type: RangeBoundaryTo(T)
New inclusive boundary To, or positive infinity boundary if the toValue is null or equals to PositiveInfinity static field of the T. or empty boundary if the toValue equals to NaN static field of the T.

See Also

Reference

Range Class
CodeJam.Ranges Namespace

Clone this wiki locally