Skip to content

M_CodeJam_Ranges_Range_BoundaryFrom__1

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

Range.BoundaryFrom(T) Method

Inclusive boundary From factory method.

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

Syntax

C#

public static RangeBoundaryFrom<T> BoundaryFrom<T>(
	T fromValue
)

VB

Public Shared Function BoundaryFrom(Of T) ( 
	fromValue As T
) As RangeBoundaryFrom(Of T)

F#

static member BoundaryFrom : 
        fromValue : 'T -> RangeBoundaryFrom<'T> 

Parameters

 

fromValue
Type: T
From value.

Type Parameters

 

T
The type of the boundary value.

Return Value

Type: RangeBoundaryFrom(T)
New inclusive boundary From, or negative infinity boundary if the fromValue is null or equals to NegativeInfinity static field of the T. or empty boundary if the fromValue equals to NaN static field of the T.

See Also

Reference

Range Class
CodeJam.Ranges Namespace

Clone this wiki locally