Table of Contents

Method Numeric

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

Numeric<TNumber>(TNumber, TNumber, TNumber)

Creates a DensifyRange with numeric bounds.

public static DensifyRange Numeric<TNumber>(TNumber lowerBound, TNumber upperBound, TNumber step)

Parameters

lowerBound TNumber

The lower bound.

upperBound TNumber

The upper bound.

step TNumber

The step.

Returns

DensifyRange

A DensifyRange with numeric bounds.

Type Parameters

TNumber

The numeric type.

Numeric<TNumber>(DensifyBounds, TNumber)

Creates a DensifyRange with numeric bounds.

public static DensifyRange Numeric<TNumber>(DensifyBounds bounds, TNumber step)

Parameters

bounds DensifyBounds

The bounds.

step TNumber

The step.

Returns

DensifyRange

A DensifyRange with numeric bounds.

Type Parameters

TNumber

The numeric type.