Class DensifyNumericRange<TNumber>
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
TNumberThe 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.