Table of Contents

Constructor SearchRange

Namespace
MongoDB.Driver.Search
Assembly
MongoDB.Driver.dll

SearchRange(TValue?, TValue?, bool, bool)

Initializes a new instance of the SearchRange<TValue> class.

public SearchRange(TValue? min, TValue? max, bool isMinInclusive, bool isMaxInclusive)

Parameters

min TValue?

The lower bound of the range.

max TValue?

The upper bound of the range

isMinInclusive bool

Indicates whether the lower bound of the range is inclusive.

isMaxInclusive bool

Indicates whether the upper bound of the range is inclusive.