Table of Contents

Class DensifyNumericRange<TNumber>

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

Represents a numeric densify range.

public sealed class DensifyNumericRange<TNumber> : DensifyRange

Type Parameters

TNumber

The numeric type.

Inheritance
DensifyNumericRange<TNumber>
Inherited Members

Constructors

DensifyNumericRange(DensifyNumericBounds<TNumber>, TNumber)

Initializes a new instance of DensifyNumericRange.

public DensifyNumericRange(DensifyNumericBounds<TNumber> bounds, TNumber step)

Parameters

bounds DensifyNumericBounds<TNumber>

The bounds.

step TNumber

The step.

Properties

Bounds

Gets the bounds.

public DensifyNumericBounds<TNumber> Bounds { get; }

Property Value

DensifyNumericBounds<TNumber>

Step

Gets the step.

public TNumber Step { get; }

Property Value

TNumber

Methods

Render()

Renders the range as a BsonDocument.

public override BsonDocument Render()

Returns

BsonDocument

The rendered range.