Table of Contents

Class DensifyLowerUpperDateTimeBounds

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

Represents a DateTime densify bounds with lower and upper bounds.

public sealed class DensifyLowerUpperDateTimeBounds : DensifyDateTimeBounds
Inheritance
DensifyLowerUpperDateTimeBounds
Inherited Members

Constructors

DensifyLowerUpperDateTimeBounds(DateTime, DateTime)

Initializes an instance of DensifyLowerUpperDateTimeBounds.

public DensifyLowerUpperDateTimeBounds(DateTime lowerBound, DateTime upperBound)

Parameters

lowerBound DateTime

The lower bound.

upperBound DateTime

The upper bound.

Properties

LowerBound

Gets the lower bound.

public DateTime LowerBound { get; }

Property Value

DateTime

UpperBound

Gets the upper bound.

public DateTime UpperBound { get; }

Property Value

DateTime

Methods

Render()

Renders the bounds as a BsonValue.

public override BsonValue Render()

Returns

BsonValue

The rendered bounds.